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:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG == null'
|
- if: '$CI_COMMIT_TAG != null'
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- dist/*
|
- dist/*
|
||||||
|
@ -91,6 +91,6 @@ build:
|
||||||
pypi:
|
pypi:
|
||||||
stage: upload
|
stage: upload
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG == null'
|
- if: '$CI_COMMIT_TAG != null'
|
||||||
script:
|
script:
|
||||||
- twine upload dist/*
|
- twine upload dist/*
|
Loading…
Reference in a new issue