Commit 577643f1 authored by Benoit Mortier's avatar Benoit Mortier
Browse files

Adapt the same tarballs stage as core

parent 5274e47f
......@@ -8,13 +8,16 @@ stages:
build-release:
stage: tarballs
only:
# - tags
- master
script:
- tar -cvzf fusiondirectory-plugins-$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f3 | tr -d '"').tar.gz *
script:
- release="$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f3 | tr -d '"')"
- mkdir ../fusiondirectory-plugins-$release/
- mv ./* ../fusiondirectory-plugins-$release/
- mv ../fusiondirectory-plugins-$release/ ./
- tar -cvzf fusiondirectory-plugins-$release.tar.gz *
artifacts:
paths:
- fusiondirectory-plugins-$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f3 | tr -d '"').tar.gz
- fusiondirectory-plugins-*.tar.gz
trigger-ci-debian-stretch:
stage: trigger
......
Markdown is supported
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