From a631226725065e05f9ed2687c73e9f625c5cd69c Mon Sep 17 00:00:00 2001 From: Fingercomp Date: Fri, 14 Jul 2023 02:44:23 +0700 Subject: [PATCH] Install git when doing a release Apparently the reason releases did not have patch notes attached was that git was not installed in the release-cli image at all. --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 58f0d0b..f80c4b7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -59,6 +59,8 @@ release: image: registry.gitlab.com/gitlab-org/release-cli:latest rules: - if: $CI_COMMIT_TAG + before_script: + - apk add git script: - echo "Creating a new release for tag $CI_COMMIT_TAG." - |