Skip to content

Commit b67c0fd

Browse files
committed
Fix $VERSION environment variable check
1 parent f7ee365 commit b67c0fd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,9 @@ jobs:
3535

3636
- name: Get the release version from the tag
3737
if: env.VERSION == ''
38-
run: echo "VERSION=$VERSION" >> "$GITHUB_ENV"
38+
run: echo "VERSION=$REF_NAME" >> "$GITHUB_ENV"
3939
env:
40-
VERSION: ${{ github.ref_name }}
41-
40+
REF_NAME: ${{ github.ref_name }}
4241

4342
- name: Validate version against Cargo.toml
4443
run: |

0 commit comments

Comments
 (0)