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

fix filtering

parent 0259d750
Branches
Tags
No related merge requests found
......@@ -9,7 +9,7 @@ docs:
echo >> README.md
echo 'The following OpenTofu versions are available with this component via the `opentofu_version` input:' >> README.md
echo >> README.md
yq -r '.spec.inputs.opentofu_version.options | .[] | "- [`" + . + "`](https://github.com/opentofu/opentofu/releases/tag/v" + . + ")"' templates/full-pipeline.yml >> README.md
yq -r '.spec.inputs.opentofu_version.options | filter((. | test("\$$.*")) == false) | .[] | "- [`" + . + "`](https://github.com/opentofu/opentofu/releases/tag/v" + . + ")"' templates/full-pipeline.yml >> README.md
tail -n+2 readme1 >> README.md
rm -f readme0 readme1 readme_inputs.md
......
......@@ -88,7 +88,6 @@ stages: [validate, test, build, deploy, cleanup]
The following OpenTofu versions are available with this component via the `opentofu_version` input:
- [`$OPENTOFU_VERSION`](https://github.com/opentofu/opentofu/releases/tag/v$OPENTOFU_VERSION)
- [`1.6.0`](https://github.com/opentofu/opentofu/releases/tag/v1.6.0)
- [`1.6.0-rc1`](https://github.com/opentofu/opentofu/releases/tag/v1.6.0-rc1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment