Skip to content
Snippets Groups Projects
Commit 5eff01ca authored by Ahmed Ilyas's avatar Ahmed Ilyas
Browse files

install twine

parent 534ea464
No related branches found
No related tags found
1 merge request!1954install twine
Pipeline #211642 canceled
...@@ -529,6 +529,8 @@ python package: ...@@ -529,6 +529,8 @@ python package:
stage: release stage: release
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none
before_script:
- pip install twine
script: twine upload -u gitlab-ci-token -p ${CI_JOB_TOKEN} --repository-url https://gitlab.mpcdf.mpg.de/api/v4/projects/${CI_PROJECT_ID}/packages/pypi dist/nomad-lab-*.tar.gz script: twine upload -u gitlab-ci-token -p ${CI_JOB_TOKEN} --repository-url https://gitlab.mpcdf.mpg.de/api/v4/projects/${CI_PROJECT_ID}/packages/pypi dist/nomad-lab-*.tar.gz
rules: rules:
- when: manual - when: manual
...@@ -538,6 +540,8 @@ pypi package: ...@@ -538,6 +540,8 @@ pypi package:
stage: release stage: release
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none
before_script:
- pip install twine
script: twine upload -u $CI_TWINE_USER -p $CI_TWINE_PASSWORD dist/nomad-lab-*.tar.gz script: twine upload -u $CI_TWINE_USER -p $CI_TWINE_PASSWORD dist/nomad-lab-*.tar.gz
rules: rules:
- if: $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment