Skip to content

Commit

Permalink
Update project version handling in GitHub actions
Browse files Browse the repository at this point in the history
- Update version handling in release workflow
- Refactor `VERSION` environment variable to use `github.ref_name` for consistency
- Improve readability and maintainability of release workflow configuration
  • Loading branch information
johnnyhuy committed May 19, 2024
1 parent a8c12a1 commit b1d116e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
permissions: write-all

env:
VERSION: ${{ github.ref }}
VERSION: ${{ github.ref_name }}

jobs:
publish-package:
Expand Down

0 comments on commit b1d116e

Please sign in to comment.