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

Update .gitlab-ci.yml file

parent b738097b
No related branches found
No related tags found
No related merge requests found
Pipeline #37368 passed
......@@ -16,6 +16,7 @@ stages:
- badge
- upload
- release
- zenodo
test:
stage: test
......@@ -65,4 +66,14 @@ release_job:
name: 'Lotte $CI_COMMIT_TAG'
description: 'Release $CI_COMMIT_TAG'
only:
- tags
\ No newline at end of file
- tags
zenodo_upload:
stage: zenodo
before_script:
- pip install requests
script:
- 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
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