From 2f28be6e9e8aedb2213bfcacc46459b50169bd0b Mon Sep 17 00:00:00 2001 From: "Edgar R. M" Date: Thu, 30 Jun 2022 17:52:56 -0500 Subject: [PATCH] ci: Fix version check in release workflow (#774) --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 135bd1f00..66549e870 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,7 @@ jobs: run: | version=$(poetry version | awk '{print $2}') tag=$(echo "${{ github.ref }}" | awk '{split($0,p,"/"); print p[3]}') - if [ $version != $tag ]; then echo "Release tag and package version do not match!"; exit 1; fi; + if [ $version != "v$tag" ]; then echo "Release tag and package version do not match!"; exit 1; fi; - name: Build run: poetry build