Skip to content

Commit

Permalink
fix release tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhuda committed Aug 1, 2024
1 parent c6e3f7d commit 9258bb4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.21' # Set your Go version
go-version: '1.19' # Set your Go version

- name: Extract version
id: get_version
run: echo "VERSION=${{ github.ref_name }}" >> $GITHUB_ENV # Use the branch/tag name
run: echo "VERSION=${GITHUB_REF##*/}" >> $GITHUB_ENV # Use the tag name (e.g., v1.0.0)

- name: Build for Linux
run: |
Expand All @@ -41,7 +41,7 @@ jobs:
- name: Create Release
uses: softprops/action-gh-release@v1
with:
tag: ${{ github.ref_name }} # Use the branch/tag name
tag_name: ${{ env.VERSION }} # Use the tag extracted earlier
files: |
dockermi-linux-${{ env.VERSION }}.tar.gz
dockermi-macos-${{ env.VERSION }}.tar.gz
Expand Down

0 comments on commit 9258bb4

Please sign in to comment.