Skip to content

Commit

Permalink
undo using auth variables, upload verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
mlange-42 committed Sep 26, 2023
1 parent 1ac8fde commit be9936e
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,11 @@ build:

pypi_test_release:
stage: release
variables:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${TEST_PYPI_TOKEN}
dependencies:
- build
script:
- pip install twine
- python -m twine upload --skip-existing -r testpypi dist/*
- python -m twine upload --verbose --skip-existing -r testpypi -u __token__ -p ${TEST_PYPI_TOKEN} dist/*
artifacts:
paths:
- dist
Expand All @@ -115,14 +112,11 @@ pypi_test_release:

pypi_release:
stage: release
variables:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${PYPI_TOKEN}
dependencies:
- build
script:
- pip install twine
- python -m twine upload dist/*
- python -m twine upload --verbose -u __token__ -p ${PYPI_TOKEN} dist/*
artifacts:
paths:
- dist
Expand Down

0 comments on commit be9936e

Please sign in to comment.