Skip to content

Commit fcc654e

Browse files
Update CI/CD logic
1 parent b58c366 commit fcc654e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.gitlab-ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,14 @@ publish_testpypi:
5757
- sed -e "s~__password__~$PyPI_Test_API_token~" .pypirc > $HOME/.pypirc
5858
- pip install -U twine
5959
- python -m twine upload --verbose --repository testpypi dist/*
60+
61+
publish_prodpypi:
62+
stage: pypi
63+
when: manual
64+
dependencies:
65+
- run_tests
66+
script:
67+
- ls dist/
68+
- sed -e "s~__password__~$PyPI_API_token~" .pypirc > $HOME/.pypirc
69+
- pip install -U twine
70+
- python -m twine upload --verbose --repository pypi dist/*

0 commit comments

Comments
 (0)