Skip to content

Commit

Permalink
Try different syntax in if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilKWarmdahl committed Dec 3, 2024
1 parent 2e54ee9 commit 5681238
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 @@ -64,7 +64,7 @@ jobs:
VERSION=$(awk '/"version":/ { print substr($2, 2, length($2)-3); exit }' app/package.json)
TAG_VERSION=${{ github.ref_name }}
if [[ "$VERSION" -ne "$TAG_VERSION" ]]; then
if [ "$VERSION" != "$TAG_VERSION" ]; then
echo "Tag version is not correct. Tag version: $TAG_VERSION version from package.json: $VERSION"
EC=0
exit 1
Expand Down

0 comments on commit 5681238

Please sign in to comment.