From 6f80ea3af7fdc64e9998820a8800c288d7facbc6 Mon Sep 17 00:00:00 2001 From: Jon Date: Sat, 24 Feb 2024 15:57:25 +0930 Subject: [PATCH] feat(ansible_collection): custom release actions enables commands to be ran before the git commit and git tag !80 --- ansible/collection/.gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ansible/collection/.gitlab-ci.yml b/ansible/collection/.gitlab-ci.yml index ea08c59..d726ff3 100644 --- a/ansible/collection/.gitlab-ci.yml +++ b/ansible/collection/.gitlab-ci.yml @@ -240,6 +240,16 @@ variables: fi; + - | # Custom commands from RELEASE_ADDITIONAL_ACTIONS_BUMP + + if [ ${RELEASE_ADDITIONAL_ACTIONS_BUMP} ]; then + + echo "Custom commands found in variable RELEASE_ADDITIONAL_ACTIONS_BUMP"; + + ${RELEASE_ADDITIONAL_ACTIONS_BUMP} + + fi; + # - | # Find merge request ID # echo "Trace CI_OPEN_MERGE_REQUESTS[${CI_OPEN_MERGE_REQUESTS}]";