Skip to content

Commit

Permalink
GA: fix version comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
petrgazarov committed Oct 18, 2023
1 parent a75436b commit 0ad25d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create_gh_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
run: |
version_from_tag=${{ steps.salami-version.outputs.version }}
chmod +x ./salami-$version_from_tag-linux-x64
version_from_binary=$(./salami-$version_from_tag-linux-x64 version)
version_from_binary=$(./salami-$version_from_tag-linux-x64 version | awk '{print substr($2, 2)}')
if [ "$version_from_binary" != "$version_from_tag" ]; then
echo "Version mismatch: $version_from_binary != $version_from_tag"
Expand Down

0 comments on commit 0ad25d0

Please sign in to comment.