aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA Farzat <a@farzat.xyz>2026-03-10 07:56:26 +0300
committerA Farzat <a@farzat.xyz>2026-03-10 07:56:26 +0300
commit7c98b3b57714b4a242e5ea962386922a04614885 (patch)
treeff4f029320dcdec9512731e9eb50a9757b15f8da
parentccc48a717a38d24cc455fc175f00b2a8202af608 (diff)
downloadoreilly-epub-7c98b3b57714b4a242e5ea962386922a04614885.tar.gz
oreilly-epub-7c98b3b57714b4a242e5ea962386922a04614885.zip
Prevent accidental GitLab CI releases using 'when'
-rw-r--r--.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7352eeb..8e36b39 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -42,6 +42,8 @@ release:
# Only run on tags starting with "v".
rules:
- if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+$/'
+ when: on_success
+ - when: never
script:
# Install system linkers for musl & ARM64.
- apt-get update