File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,14 +45,14 @@ jobs:
4545 command : |
4646 poetry publish --build --username "${PYPI_USERNAME}" --password "${PYPI_PASSWORD}" --no-interaction
4747
48- tag_describes_master :
48+ tag_is_on_master :
4949 docker :
5050 - image : circleci/python:3.7.3 # includes `poetry`!
5151 steps :
5252 - run :
53- name : Check that the tag being built is at the tip of master
53+ name : Check that the tag being built is on master
5454 command : |
55- [ "$(git describe master)" = "$CIRCLE_TAG" ]
55+ [ "$CIRCLE_BRANCH" = " master" ] && [ "" ! = "$CIRCLE_TAG" ]
5656
5757# When to run which job
5858workflows :
@@ -73,7 +73,7 @@ workflows:
7373 branches :
7474 ignore : /.*/
7575
76- - tag_describes_master :
76+ - tag_is_on_master :
7777 filters :
7878 tags :
7979 only : /v[0-9]+(\.[0-9]+)*/
You can’t perform that action at this time.
0 commit comments