Skip to content
Snippets Groups Projects
Unverified Commit 89519399 authored by Timo Furrer's avatar Timo Furrer
Browse files

Sort images in release notes

parent 922698c5
No related branches found
No related tags found
No related merge requests found
...@@ -175,7 +175,7 @@ gitlab-opentofu-image:deploy:latest: ...@@ -175,7 +175,7 @@ gitlab-opentofu-image:deploy:latest:
- echo "Creating release $CI_COMMIT_TAG" - echo "Creating release $CI_COMMIT_TAG"
- 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) - 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 - export AVAILABLE_OPENTOFU_VERSIONS
- AVAILABLE_IMAGES=$(cat image*.txt) - AVAILABLE_IMAGES=$(cat image*.txt | sort)
- export AVAILABLE_IMAGES - export AVAILABLE_IMAGES
- cat .gitlab/release-template.md | envsubst > release-notes.md - cat .gitlab/release-template.md | envsubst > release-notes.md
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment