Skip to content

Commit

Permalink
ci: print better version debug info if version mismatch occurs (melta…
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsteers committed Oct 3, 2022
1 parent dfb2be6 commit 31dda53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: |
version=$(poetry version | awk '{print $2}')
tag=$(echo "${{ github.ref }}" | awk '{split($0,p,"/"); print p[3]}')
if [ "v$version" != $tag ]; then echo "Release tag and package version do not match!"; exit 1; fi;
if [ "v$version" != $tag ]; then echo "Release tag ('$tag') and poetry version ('v$version') do not match!"; exit 1; fi;
- name: Poetry install
run: |
Expand Down

0 comments on commit 31dda53

Please sign in to comment.