release & upload only on tags
This commit is contained in:
parent
4ba2857db7
commit
d5ad3c7628
1 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ test-1.1.3:
|
|||
build:
|
||||
stage: build
|
||||
rules:
|
||||
- if: '$CI_COMMIT_TAG == null'
|
||||
- if: '$CI_COMMIT_TAG != null'
|
||||
artifacts:
|
||||
paths:
|
||||
- dist/*
|
||||
|
@ -91,6 +91,6 @@ build:
|
|||
pypi:
|
||||
stage: upload
|
||||
rules:
|
||||
- if: '$CI_COMMIT_TAG == null'
|
||||
- if: '$CI_COMMIT_TAG != null'
|
||||
script:
|
||||
- twine upload dist/*
|
Loading…
Reference in a new issue