Commit 33d5f9de authored by Jonathan Swaelens's avatar Jonathan Swaelens
Browse files

feat(gitlab-ci): Add tarballs to gitlab-ci



Add tarballs to gitlab-ci
Signed-off-by: default avatarJonathan Swaelens <swaelens.jonathan@opensides.be>
parent c966073e
......@@ -8,6 +8,7 @@ variables:
stages:
- test-perl
- test-manpages
- tarballs
# Generate perlcritic rapport
create_perlcritic_rapport:
......@@ -81,3 +82,21 @@ test_manpages:
- lexgrog argonaut-quota/man/argonaut-quota.1
- lexgrog argonaut-server/man/argonaut-server.1
build-tarballs:
stage: tarballs
script:
- tar -cvzf fusiondirectory-core.tar.gz *
artifacts:
paths:
- fusiondirectory-core.tar.gz
expire_in: 1h
build-release:
stage: tarballs
only:
- tags
script:
- tar -cvzf fusiondirectory-core-$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f3 | tr -d '"').tar.gz *
artifacts:
paths:
- fusiondirectory-core-$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f3 | tr -d '"').tar.gz
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