We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f76b9c3 commit 590f62eCopy full SHA for 590f62e
1 file changed
.circleci/config.yml
@@ -45,14 +45,14 @@ jobs:
45
command: |
46
poetry publish --build --username "${PYPI_USERNAME}" --password "${PYPI_PASSWORD}" --no-interaction
47
48
- tag_describes_master:
+ tag_is_on_master:
49
docker:
50
- image: circleci/python:3.7.3 # includes `poetry`!
51
steps:
52
- run:
53
- name: Check that the tag being built is at the tip of master
+ name: Check that the tag being built is on master
54
55
- [ "$(git describe master)" = "$CIRCLE_TAG" ]
+ [ "$CIRCLE_BRANCH" = "master" ] && [ "" != "$CIRCLE_TAG" ]
56
57
# When to run which job
58
workflows:
@@ -73,7 +73,7 @@ workflows:
73
branches:
74
ignore: /.*/
75
76
- - tag_describes_master:
+ - tag_is_on_master:
77
filters:
78
tags:
79
only: /v[0-9]+(\.[0-9]+)*/
0 commit comments