Commit 1e8b5470 authored by Jonathan Swaelens's avatar Jonathan Swaelens
Browse files

:sparkles: feat(ci); Use the same CI than for plugins

Use the same CI than for plugins
Showing with 6 additions and 5 deletions
+6 -5
......@@ -9,10 +9,11 @@ build-release:
only:
- tags
script:
- mkdir ../fusiondirectory-$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f3 | tr -d '"')/
- mv ./* ../fusiondirectory-$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f3 | tr -d '"')/
- mv ../fusiondirectory-$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f3 | tr -d '"')/ ./
- tar -cvzf fusiondirectory-$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f3 | tr -d '"').tar.gz *
- VERSION=$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f3 | tr -d '"')
- mkdir ../fusiondirectory-$VERSION/
- mv ./* ../fusiondirectory-$VERSION/
- mv ../fusiondirectory-$VERSION/ ./
- tar -cvzf fusiondirectory-$VERSION.tar.gz *
artifacts:
paths:
- fusiondirectory-$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f3 | 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