Skip to content

Commit

Permalink
Fix $VERSION environment variable check
Browse files Browse the repository at this point in the history
  • Loading branch information
EliahKagan committed Aug 1, 2024
1 parent 264076b commit 7156657
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,9 @@ jobs:

- name: Get the release version from the tag
if: env.VERSION == ''
run: echo "VERSION=$VERSION" >> "$GITHUB_ENV"
run: echo "VERSION=$REF_NAME" >> "$GITHUB_ENV"
env:
VERSION: ${{ github.ref_name }}

REF_NAME: ${{ github.ref_name }}

- name: Validate version against Cargo.toml
run: |
Expand Down

0 comments on commit 7156657

Please sign in to comment.