Skip to content

Commit

Permalink
ci: Fix version check in release workflow (#775)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon authored Jun 30, 2022
1 parent 2f28be6 commit d177700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 != "v$tag" ]; then echo "Release tag and package version do not match!"; exit 1; fi;
if [ "v$version" != $tag ]; then echo "Release tag and package version do not match!"; exit 1; fi;
- name: Build
run: poetry build
Expand Down

0 comments on commit d177700

Please sign in to comment.