ci: Fix detection of tags
PATCH 1/1 ci: Fix detection of tags
From: Jan Kiszka <[email protected]>
Likely due to some changes in gitlab, we started to build taged releases again, instead of just the corresponding commits. Fix that by adjusting and simplifying the logic.
Signed-off-by Jan Kiszka <[email protected]>
--- .gitlab-ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
.gitlab-ci.yml +1 -3
@@ -36,9 +36,7 @@ variables: tags: - build rules: - - if: $CI_COMMIT_BRANCH != "master" - - if: $CI_COMMIT_TAG - when: never + - if: '$CI_COMMIT_BRANCH != "master" && $CI_COMMIT_TAG == null' before_script: - apt update - ARCH_PACKAGES="PACKAGES_${ARCH}"
Signature · 1 line
2.43.0