Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fd-plugins
Commits
577643f1
Commit
577643f1
authored
Feb 26, 2021
by
Benoit Mortier
Browse files
Adapt the same tarballs stage as core
parent
5274e47f
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
577643f1
...
...
@@ -8,13 +8,16 @@ stages:
build-release
:
stage
:
tarballs
only
:
# - tags
-
master
script
:
-
tar -cvzf fusiondirectory-plugins-$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f3 | tr -d '"').tar.gz *
script
:
-
release="$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f3 | tr -d '"')"
-
mkdir ../fusiondirectory-plugins-$release/
-
mv ./* ../fusiondirectory-plugins-$release/
-
mv ../fusiondirectory-plugins-$release/ ./
-
tar -cvzf fusiondirectory-plugins-$release.tar.gz *
artifacts
:
paths
:
-
fusiondirectory-plugins-
$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f3 | tr -d '"')
.tar.gz
-
fusiondirectory-plugins-
*
.tar.gz
trigger-ci-debian-stretch
:
stage
:
trigger
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment