Skip to content

Commit

Permalink
fix: Version now correctly obtained from file
Browse files Browse the repository at this point in the history
  • Loading branch information
chgroeling committed Nov 10, 2024
1 parent e015c20 commit e37e3d2
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 @@ -35,9 +35,9 @@ jobs:
- name: Check VERSION file
shell: bash
run: |
FILE_VERSION=$(cat VERSION)
if [ "$FILE_VERSION" != "$TAG_VERSION" ]; then
echo "ERROR: VERSION file ($FILE_VERSION) does not match Git tag ($TAG_VERSION)"
VERSION_FROM_FILE=$(cat VERSION)
if [ "$VERSION_FROM_FILE" != "$TAG_VERSION" ]; then
echo "ERROR: VERSION file ($VERSION_FROM_FILE) does not match Git tag ($TAG_VERSION)"
exit 1
else
echo "VERSION file is consistent with Git tag"
Expand Down

0 comments on commit e37e3d2

Please sign in to comment.