Commit 52adb9e1 authored by Jonathan Swaelens's avatar Jonathan Swaelens
Browse files

:sparkles: feat(gitlab-ci): Add release tarballs in CI


Add release tarballs in CI

Signed-off-by: default avatarJonathan Swaelens <swaelens.jonathan@opensides.be>
Showing with 12 additions and 2 deletions
+12 -2
...@@ -10,7 +10,7 @@ stages: ...@@ -10,7 +10,7 @@ stages:
- codestyle - codestyle
- manpages - manpages
- transifex - transifex
- build-tarballs - tarballs
## Stage lint ## Stage lint
...@@ -123,10 +123,20 @@ update-transifex: ...@@ -123,10 +123,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
  • bmortier @bmortier

    mentioned in commit 99bfb15a

    By Jonathan Swaelens on 2018-04-05T16:27:57 (imported from GitLab)

    ·

    mentioned in commit 99bfb15a

    By Jonathan Swaelens on 2018-04-05T16:27:57 (imported from GitLab)

    Toggle commit list
  • bmortier @bmortier

    mentioned in merge request !211

    By bmortier on 2018-04-05T16:27:57 (imported from GitLab)

    ·

    mentioned in merge request !211

    By bmortier on 2018-04-05T16:27:57 (imported from GitLab)

    Toggle commit list
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