Skip to content
Snippets Groups Projects
Commit e237883e authored by Frederik Arnold's avatar Frederik Arnold
Browse files

Update .gitlab-ci.yml file

parent f5ce6498
No related branches found
No related tags found
No related merge requests found
Pipeline #37377 passed
......@@ -45,28 +45,28 @@ badge:
only:
- tags
#upload:
# stage: upload
# script:
# - pip install twine
# - cat $PYPIRC > /tmp/.pypirc
# - python -m pip install --upgrade build
# - python -m build
# - python -m twine upload --repository pypi dist/* --config-file /tmp/.pypirc
# only:
# - tags
upload:
stage: upload
script:
- pip install twine
- cat $PYPIRC > /tmp/.pypirc
- python -m pip install --upgrade build
- python -m build
- python -m twine upload --repository pypi dist/* --config-file /tmp/.pypirc
only:
- tags
#release_job:
# stage: release
# image: registry.gitlab.com/gitlab-org/release-cli:latest
# script:
# - echo $CI_COMMIT_TAG
# release:
# tag_name: $CI_COMMIT_TAG
# name: 'Lotte $CI_COMMIT_TAG'
# description: 'Release $CI_COMMIT_TAG'
# only:
# - tags
release_job:
stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest
script:
- echo $CI_COMMIT_TAG
release:
tag_name: $CI_COMMIT_TAG
name: 'Lotte $CI_COMMIT_TAG'
description: 'Release $CI_COMMIT_TAG'
only:
- tags
zenodo_upload:
stage: zenodo
......@@ -76,4 +76,4 @@ zenodo_upload:
- git archive --format zip --output Lotte-$CI_COMMIT_TAG.zip $CI_COMMIT_TAG
- python zenodo.py --access-token $ZENODO_ACCESS_TOKEN --id 6123229 --title Lotte --version $CI_COMMIT_TAG --file-path Lotte-$CI_COMMIT_TAG.zip
only:
- tags
\ No newline at end of file
- tags
\ No newline at end of file
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