Commit 7d8097d7 authored by bmortier's avatar bmortier
Browse files

Merge branch '35-adapt-the-build-release-to-use-the-3-parameter-in-f' into 'main'

Resolve "Adapt the build release to use the 3 parameter in -f"

Closes #35

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