Skip to content
Snippets Groups Projects
Commit bde53c25 authored by q3k's avatar q3k
Browse files

ci: attempt to fix dist job for tags

parent 869b749a
Branches
Tags
No related merge requests found
...@@ -73,13 +73,27 @@ pages: ...@@ -73,13 +73,27 @@ pages:
paths: ['public'] paths: ['public']
expire_in: 1d expire_in: 1d
dist: dist-branch:
stage: deploy stage: deploy
variables: variables:
# Force a full clone to make version machinery work. # Force a full clone to make version machinery work.
GIT_STRATEGY: clone GIT_STRATEGY: clone
only: only:
- /^release\/[0-9]+\.[0-9]+\.[0-9]+.*$/ - /^release\/[0-9]+\.[0-9]+\.[0-9]+$/
- branches
script:
- bash tools/dist.sh
artifacts:
paths: ['dist']
dist-tag:
stage: deploy
variables:
# Force a full clone to make version machinery work.
GIT_STRATEGY: clone
only:
- /^v\/[0-9]+\.[0-9]+\.[0-9]+.*$/
- tags
script: script:
- bash tools/dist.sh - bash tools/dist.sh
artifacts: artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment