From 0ad25d0a3fc074a6d92a3378e9b83f1cdb09fef4 Mon Sep 17 00:00:00 2001 From: Petr Gazarov Date: Wed, 18 Oct 2023 02:15:45 -0700 Subject: [PATCH] GA: fix version comparison --- .github/workflows/create_gh_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create_gh_release.yml b/.github/workflows/create_gh_release.yml index b30221e..0186d97 100644 --- a/.github/workflows/create_gh_release.yml +++ b/.github/workflows/create_gh_release.yml @@ -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"