Commit 4d00d097 authored by bmortier's avatar bmortier
Browse files

:ambulance: fix(ci) adapt like the mai ci on fusiondirectory for release


Signed-off-by: bmortier's avatarBenoit Mortier <benoit.mortier@fusiondirectory.org>
No related merge requests found
Showing with 6 additions and 5 deletions
+6 -5
...@@ -66,10 +66,11 @@ build-release: ...@@ -66,10 +66,11 @@ build-release:
only: only:
- tags - tags
script: script:
- mkdir ../fusiondirectory-tools-$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f4 | tr -d '"')/ - VERSION=$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f4 | tr -d '"')
- mv ./* ../fusiondirectory-tools-$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f4 | tr -d '"')/ - mkdir ../fusiondirectory-tools-$VERSION/
- mv ../fusiondirectory-tools-$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f4 | tr -d '"')/ ./ - mv ./* ../fusiondirectory-tools-$VERSION/
- tar -cvzf fusiondirectory-tools-$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f4 | tr -d '"').tar.gz * - mv ../fusiondirectory-tools-$VERSION/ ./
- tar -cvzf fusiondirectory-tools-.tar.gz *
artifacts: artifacts:
paths: paths:
- fusiondirectory-tools-$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f4 | tr -d '"').tar.gz - ./*.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