From b7d3cc187808f9c56a5b50ace4d17b2e02886b59 Mon Sep 17 00:00:00 2001 From: Timo Furrer <tfurrer@gitlab.com> Date: Fri, 19 Jan 2024 09:36:17 +0100 Subject: [PATCH] Export variables necessary for release notes --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2229ec2..c4539b0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -176,6 +176,7 @@ gitlab-opentofu-image:deploy:latest: - AVAILABLE_OPENTOFU_VERSIONS=$(yq -r '.spec.inputs.opentofu_version.options | filter((. | test("\$.*")) == false) | .[] | "- [`" + . + "`](https://github.com/opentofu/opentofu/releases/tag/v" + . + ")"' templates/full-pipeline.yml) - export AVAILABLE_OPENTOFU_VERSIONS - AVAILABLE_IMAGES=$(cat image*.txt) + - export AVAILABLE_IMAGES - cat .gitlab/release-template.md | envsubst > release-notes.md # create-release:dry-run: -- GitLab