From 72a3ee0a5797281efd92d116077ae4608e7041b1 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Mon, 31 Mar 2025 10:22:04 +0200
Subject: [PATCH] Avoid inheriting before script in release job

---
 .gitlab-ci.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 206d95410..c90e28f2c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -341,8 +341,10 @@ release_job:
   image: registry.gitlab.com/gitlab-org/release-cli:latest
   rules:
     - if: '$CI_COMMIT_TAG && $CI_COMMIT_REF_PROTECTED == "true"'
+  before_script:
+    - echo "running release_job before_script"
   script:
-    - echo "running release_job"
+    - echo "running release_job script"
   release:
     tag_name: '$CI_COMMIT_TAG'
     description: '$CI_COMMIT_TAG - $CI_COMMIT_TAG_MESSAGE'
-- 
GitLab