Skip to content

Commit

Permalink
Expects refs/tags/ pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
stain committed Jul 22, 2020
1 parent dfc92e2 commit 30cf36e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ jobs:
- name: Check tag name matches setup.py version
run: |
ver=`python setup.py --version`
if [[ "$ver" != $GITHUB_REF ]]
tag="refs/tags/$ver"
if [[ "$tag" != $GITHUB_REF ]]
then echo Tag $GITHUB_REF does not match $ver from setup.py >&2
echo Please update rocrate/_version.py
false
Expand Down

0 comments on commit 30cf36e

Please sign in to comment.