From 86d022dc9368df087502c33436792db62ab3e609 Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Rouby <pierre-antoine.rouby@inrae.fr> Date: Wed, 26 Jul 2023 17:14:05 +0200 Subject: [PATCH] ci: Active rules for packages. --- .gitlab-ci.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index da4feb5c..5bb9624c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,9 +45,8 @@ linux-package: needs: - job: build-lang artifacts: true - # rules: - # - if: $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG - # when: never + rules: + - if: $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG artifacts: paths: - packages/pamhyr-gnulinux-amd64.tar.xz @@ -63,9 +62,8 @@ windows-package: needs: - job: build-lang artifacts: true - # rules: - # - if: $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG - # when: never + rules: + - if: $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG artifacts: paths: - packages/pamhyr-win-amd64.exe @@ -95,8 +93,6 @@ tag-release: - packages/pamhyr-win-amd64.exe script: - cd packages - # - ./linux.sh - # # - ./wine.sh ci release: name: '$CI_COMMIT_TAG' description: 'Automatic release from tag $CI_COMMIT_TAG' -- GitLab