feat: recipe sync shows changes
All checks were successful
continuous-integration/drone/push Build is passing

See #579
This commit is contained in:
2025-08-24 15:51:54 +02:00
parent 4cb660c348
commit 0c708f6592
4 changed files with 50 additions and 27 deletions

View File

@ -13,7 +13,7 @@ import (
)
// PromptBumpType prompts for version bump type
func PromptBumpType(tagString, latestRelease string) error {
func PromptBumpType(tagString, latestRelease, changeOverview string) error {
if (!Major && !Minor && !Patch) && tagString == "" {
fmt.Print(i18n.G(`
You need to make a decision about what kind of an update this new recipe
@ -24,6 +24,8 @@ version.
The latest published version is %s.
%s
Here is a semver cheat sheet (more on https://semver.org):
major: new features/bug fixes, backwards incompatible (e.g 1.0.0 -> 2.0.0).
@ -38,7 +40,7 @@ Here is a semver cheat sheet (more on https://semver.org):
should also Just Work and is mostly to do with minor bug fixes
and/or security patches. "nothing to worry about".
`, latestRelease))
`, latestRelease, changeOverview))
var chosenBumpType string
prompt := &survey.Select{