Commit 6b947824 authored by Jonathan Swaelens's avatar Jonathan Swaelens
Browse files

:sparkles: feat(ci): Keep only build release because master is only used for...

:sparkles: feat(ci): Keep only build release because master is only used for release and test on master branch for now

Keep only build release because master is only used for release and test on master branch for now
Showing with 2 additions and 15 deletions
+2 -15
......@@ -9,24 +9,11 @@ stages:
- tarballs
- trigger
build-tarballs:
stage: tarballs
only:
- /^1.*$/
script:
- mkdir ../fusiondirectory-$(cut -d '-' -f1 <<< $CI_COMMIT_REF_NAME)
- cp -a ./* ../fusiondirectory-$(cut -d '-' -f1 <<< $CI_COMMIT_REF_NAME)
- mv ../fusiondirectory-$(cut -d '-' -f1 <<< $CI_COMMIT_REF_NAME) ./
artifacts:
name: fusiondirectory-$(cut -d '-' -f1 <<< $CI_COMMIT_REF_NAME)
paths:
- ./fusiondirectory-$(cut -d '-' -f1 <<< $CI_COMMIT_REF_NAME)
expire_in: 1h
build-release:
stage: tarballs
only:
- tags
# - tags
- master
script:
- mkdir "../fusiondirectory-$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f3 | tr -d '"')"
- cp -a ./* "../fusiondirectory-$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f3 | tr -d '"')"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment