Skip to content

Conversation

paulRbr
Copy link
Member

@paulRbr paulRbr commented Jul 3, 2025

Fixes #708

When outputing the overlayed result of the bump overlay command, we
shouldn't export yaml aliases (*ref used with &ref) as this
feature of YAML is not well supported by tools.

Also, it's not the job of the overlay command to guess whether to use
YAML anchors or not.

With this commit we make sure to output yaml without refs.

Fixes bump-sh#708

When outputing the overlayed result of the `bump overlay` command, we
shouldn't export yaml aliases (`*ref` used with `&ref`) as this
feature of YAML is not well supported by tools.

Also, it's not the job of the overlay command to guess whether to use
YAML anchors or not.

With this commit we make sure to output yaml without refs.
Copy link
Contributor

@fbraure fbraure left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@paulRbr paulRbr merged commit 39ee1a7 into bump-sh:main Jul 6, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Overlay output sometimes includes unexpected YAML anchors
2 participants