Commit 2fc35999 authored by Jonathan Swaelens's avatar Jonathan Swaelens
Browse files

:sparkles: feat(ci): Remove trigger and use build-release from 1.4

Remove trigger and use build-release from 1.4
Showing with 6 additions and 23 deletions
+6 -23
......@@ -8,29 +8,12 @@ stages:
build-release:
stage: tarballs
only:
# - tags
- master
- tags
script:
- release="$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f3 | tr -d '"')"
- mkdir ../fusiondirectory-$release/
- mv ./* ../fusiondirectory-$release/
- mv ../fusiondirectory-$release/ ./
- tar -cvzf fusiondirectory-$release.tar.gz *
- 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 *
artifacts:
paths:
- fusiondirectory-*.tar.gz
trigger-plugins:
variables:
GROUP: $GROUP
BRANCH_CORE: $CI_COMMIT_REF_NAME
BRANCH_PLUGIN: $CI_COMMIT_REF_NAME
BRANCH_BUILD_DEBIAN_STRETCH: $BRANCH_BUILD_DEBIAN_STRETCH
BRANCH_BUILD_DEBIAN_BUSTER: $BRANCH_BUILD_DEBIAN_BUSTER
BRANCH_BUILD_CENTOS_7: $BRANCH_BUILD_CENTOS_7
stage: trigger
only:
- master
trigger:
project: fusiondirectory/fd-plugins
branch: $CI_COMMIT_REF_NAME
- fusiondirectory-$(grep '%' Changelog.md | head -n1 | cut -d ' ' -f3 | tr -d '"').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