Skip to content

Commit

Permalink
ci: Refactor version variables and update release workflow
Browse files Browse the repository at this point in the history
- Update variable names in Makefile to improve readability and consistency
- Add new actions to the release workflow for enhanced functionality
- Delete the `.github/workflows/publish.yaml` file to remove unused GitHub action functionality
  • Loading branch information
johnnyhuy committed Apr 21, 2024
1 parent b36d904 commit a70bf0c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 23 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/publish.yaml

This file was deleted.

4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ jobs:
version: ${{ github.ref_name }}
publish: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: make publish-package
- run: make publish-image
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VENV := . venv/bin/activate &&
LATEST_TAG := $(shell git describe --tags --abbrev=0)
LATEST_VERSION := $(shell git describe --tags)
TAG := $(shell git describe --tags --abbrev=0)
VERSION ?= $(shell git describe --tags)

-include .env
export
Expand Down

0 comments on commit a70bf0c

Please sign in to comment.