Commit 99bfb15a authored by jswaelens's avatar jswaelens Committed by bmortier
Browse files

Merge branch '5774-add-artifcats-to-build' into '1.3-dev'

Resolve "Add artifcats to build"

Closes #5774

See merge request fusiondirectory/fd!169

(cherry picked from commit c1b30898)

52adb9e1 :sparkles: feat(gitlab-ci): Add release tarballs in CI
Showing with 12 additions and 2 deletions
+12 -2
...@@ -10,7 +10,7 @@ stages: ...@@ -10,7 +10,7 @@ stages:
- test-php - test-php
- test-manpages - test-manpages
- transifex - transifex
- build-tarballs - tarballs
# Generate perlcritic rapport # Generate perlcritic rapport
create_perlcritic_rapport: create_perlcritic_rapport:
...@@ -110,10 +110,20 @@ update-transifex: ...@@ -110,10 +110,20 @@ update-transifex:
- tx push -f -s -t --skip --no-interactive - tx push -f -s -t --skip --no-interactive
build-tarballs: build-tarballs:
stage: build-tarballs stage: tarballs
script: script:
- tar -cvzf fusiondirectory-core.tar.gz * - tar -cvzf fusiondirectory-core.tar.gz *
artifacts: artifacts:
paths: paths:
- fusiondirectory-core.tar.gz - fusiondirectory-core.tar.gz
expire_in: 1h expire_in: 1h
build-release:
stage: tarballs
only:
- tags
script:
- tar -cvzf fusiondirectory-core-$(grep '*' Changelog | head -n1 | cut -d ' ' -f3).tar.gz *
artifacts:
paths:
- fusiondirectory-core-$(grep '*' Changelog | head -n1 | cut -d ' ' -f3).tar.gz
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