Skip to content

Commit

Permalink
fix: correctly referencing the git tag for the release version in the…
Browse files Browse the repository at this point in the history
… release workflow
  • Loading branch information
aggregat4 committed Mar 6, 2024
1 parent 375431f commit 96a0660
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- name: Get the release version
id: get_version
run: echo "BINARY_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
Expand All @@ -22,7 +22,7 @@ jobs:
- name: Test
run: scripts/test.sh
- name: Package the Release Artifacts
run: tar -zcf openidprovider-${{ BINARY_VERSION }}-linux-x86.tar.gz -C bin createuser server
run: tar -zcf openidprovider-${{ env.RELEASE_VERSION }}-linux-x86.tar.gz -C bin createuser server
- name: Upload the Artifacts
uses: skx/github-action-publish-binaries@master
env:
Expand Down

0 comments on commit 96a0660

Please sign in to comment.