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:
45
45
command : |
46
46
poetry publish --build --username "${PYPI_USERNAME}" --password "${PYPI_PASSWORD}" --no-interaction
47
47
48
- tag_describes_master :
48
+ tag_is_on_master :
49
49
docker :
50
50
- image : circleci/python:3.7.3 # includes `poetry`!
51
51
steps :
52
52
- 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
54
54
command : |
55
- [ "$(git describe master)" = "$CIRCLE_TAG" ]
55
+ [ "$CIRCLE_BRANCH" = " master" ] && [ "" ! = "$CIRCLE_TAG" ]
56
56
57
57
# When to run which job
58
58
workflows :
@@ -73,7 +73,7 @@ workflows:
73
73
branches :
74
74
ignore : /.*/
75
75
76
- - tag_describes_master :
76
+ - tag_is_on_master :
77
77
filters :
78
78
tags :
79
79
only : /v[0-9]+(\.[0-9]+)*/
You can’t perform that action at this time.
0 commit comments