diff --git a/Makefile b/Makefile index 2e458d2c3d8652b09f5fcbf792b8c915ab418ead..cd347bb0be4afdf3cab98374f8ab97c8ca2beadd 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/README.md b/README.md index 6a861fa5221620b5f1ee5f0b3d9f6c0eed300e58..a58044bba752bb24ebfe66eb023988fba978ac4e 100644 --- a/README.md +++ b/README.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)