Skip to content

Commit

Permalink
Merge branch 'debug-pypi-release' into 'main'
Browse files Browse the repository at this point in the history
Undo using auth variables, upload verbose

See merge request FINAM/finam!269
  • Loading branch information
mlange-42 committed Sep 26, 2023
2 parents 1ac8fde + be9936e commit 4415a53
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 4415a53

Please sign in to comment.