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

Reverse sort order for release list in release notes

parent 50b6f2fb
No related branches found
No related tags found
No related merge requests found
......@@ -202,7 +202,7 @@ create-release:
- 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)
- export AVAILABLE_OPENTOFU_VERSIONS
- 'AVAILABLE_IMAGES=$(cat image*.md | sort | tee images.md | sed -E "s/(\(digest: .*\))/\n - \1/")'
- 'AVAILABLE_IMAGES=$(cat image*.md | sort -r | tee images.md | sed -E "s/(\(digest: .*\))/\n - \1/")'
- export AVAILABLE_IMAGES
- cat .gitlab/release-notes.md.template | envsubst > release-notes.md
artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment