Ryan Cragun 2f4167ee9a
[VAULT-38027] pipeline(active-versions): add --github-output support (#31239)
The standard JSON output of `pipeline release list active-versions
--format json` returns the configuration in the same schema as
`.release/versions.hcl`. While that is intended for the command, the
schema itself is not easy to use with the built-in functions in Github
Actions which often requires complex JQ queries to reshape the data to
be useful. Instead, add a `--github-output` flag that will
automatically write the active versions to `$GITHUB_OUTPUT` encoded as
JSON but with multiple useful top-level keys that make utilizing it in
Github Actions a breeze. This support will be utilized in future pull
requests.

Signed-off-by: Ryan Cragun <me@ryan.ec>
2025-07-10 17:10:46 -06:00
..
2024-11-28 15:27:17 +00:00
2024-11-28 15:27:17 +00:00
2024-11-28 15:27:17 +00:00