Skip to content
Snippets Groups Projects
Commit b6190e75 authored by Michael Hofer's avatar Michael Hofer
Browse files

Merge branch 'V22_fix_tag' into 'V22'

Update .gitlab-ci.yml

See merge request !35
parents 528110a8 f361c880
No related branches found
No related tags found
1 merge request!35Update .gitlab-ci.yml
Pipeline #3913120 passed
......@@ -117,7 +117,8 @@ send-snapshot:
stage: publish
image: python:3.6
script:
- if [[ ! $CI_COMMIT_TAG =~ "^V?[0-9]*\.?[0-9]*" ]]; then exit 0; fi
- echo "${CI_COMMIT_TAG}"
- if [[ ! $CI_COMMIT_TAG =~ ^V?[0-9]+\.?[0-9]+ ]]; then exit 0; fi
- pip install gitlab2zenodo
- git archive --format zip --output ${CI_COMMIT_TAG}.zip ${CI_COMMIT_TAG}
- g2z-send -m .zenodo.json ${CI_COMMIT_TAG}.zip
......@@ -137,6 +138,7 @@ web_content:
- mv !(*codes*|*public*) ./public/
only:
- /^V\d\d$/
- tags
artifacts:
paths:
- ./public
......@@ -154,6 +156,7 @@ deployment:
EOS_PATH: /eos/project/a/acc-models/public/fcc/fccee/${CI_COMMIT_REF_NAME}/
only:
- /^V\d\d$/
- tags
script:
- deploy-eos
......
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