diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5ff091ec..43bd3e9b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -582,6 +582,40 @@ pkg-check-clamav: # RELEASE # ########### +shadow-release: + stage: release + tags: + - release + - linux + needs: + - job: linux-package-tar + artifacts: true + - job: windows-package-zip + artifacts: true + - job: windows-package-exe + artifacts: true + # - job: build-users-doc + # artifacts: true + - job: build-developers-doc + artifacts: true + - job: pkg-hash + artifacts: true + rules: + - if: $CI_COMMIT_BRANCH != 'master' && $CI_COMMIT_TAG + artifacts: + paths: + - linux/pamhyr-gnulinux.tar.xz + - windows/pamhyr-windows.zip + - windows/pamhyr-windows.exe + - linux/pamhyr-gnulinux.tar.xz.sha256 + - windows/pamhyr-windows.zip.sha256 + - windows/pamhyr-windows.exe.sha256 + - doc/dev/documentation.pdf + # - doc/users/documentation.pdf + script: + - cd packages + + tag-release: stage: release tags: @@ -601,7 +635,7 @@ tag-release: - job: pkg-hash artifacts: true rules: - - if: $CI_COMMIT_TAG + - if: $CI_COMMIT_BRANCH == 'master' && $CI_COMMIT_TAG artifacts: paths: - linux/pamhyr-gnulinux.tar.xz