Skip to content

Add bakery update version patch command#243

Merged
bschwedler merged 17 commits intomainfrom
update-command
Oct 14, 2025
Merged

Add bakery update version patch command#243
bschwedler merged 17 commits intomainfrom
update-command

Conversation

@ianpittwood
Copy link
Contributor

Partially implements #187

  • Adds bakery update version patch command to patch a target version with a new version.
    • Updates the version name and values exclusively in the configuration. Reuses all other values
    • If --clean is set, the existing version files will be removed prior to rendering from templates. This will eliminate any files that may no longer exist in the templates or were renamed. --clean always removes the version directory regardless of whether or not it is a subpath override.
    • If --no-clean is set, the existing version files will be preserved and moved to the new version path if it is different from the original version's path.
    • Any passed --value will update the value map for the version in the configuration. Existing defined values for which new values are not passed will be retained.
  • A few miscellaneous changes to improve documentation in the CLI help texts.

@github-actions
Copy link

github-actions bot commented Oct 8, 2025

Test Results

752 tests   752 ✅  2m 46s ⏱️
  1 suites    0 💤
  1 files      0 ❌

Results for commit f921bb3.

♻️ This comment has been updated with latest results.

@ianpittwood ianpittwood requested a review from bschwedler October 9, 2025 15:38
Base automatically changed from implement-extra-values-field to main October 10, 2025 18:46
@bschwedler bschwedler merged commit 656449b into main Oct 14, 2025
6 checks passed
@bschwedler bschwedler deleted the update-command branch October 14, 2025 18:09
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.

2 participants