diff --git a/flow/process.go b/flow/process.go index 64abd3d..e8b99f0 100644 --- a/flow/process.go +++ b/flow/process.go @@ -82,6 +82,9 @@ func (f *Flow) process(ctx context.Context, app *Application, version string) Pu for _, key := range app.AdditionalRewriteKeys { release.MakeChangeFunc(ctx, client, filePath, fmt.Sprintf(additionalRewriteKeysRegexTemplate, key), func(m regexp2.Match) string { oldVersionSet[m.GroupByName("version").String()] = nil + if f.enableVersionQuote { + return fmt.Sprintf("%s: \"%s\"", key, version) + } return fmt.Sprintf("%s: %s", key, version) }) }