fix: commit changes if dry-run not present (recipe release)
This commit is contained in:
parent
199aa5f4e3
commit
6cdba0f9de
|
@ -239,12 +239,10 @@ func commitRelease(recipe recipe.Recipe, tag string) error {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if internal.Publish {
|
msg := fmt.Sprintf("chore: publish %s release", tag)
|
||||||
msg := fmt.Sprintf("chore: publish %s release", tag)
|
repoPath := path.Join(config.RECIPES_DIR, recipe.Name)
|
||||||
repoPath := path.Join(config.RECIPES_DIR, recipe.Name)
|
if err := gitPkg.Commit(repoPath, ".", msg, internal.Dry); err != nil {
|
||||||
if err := gitPkg.Commit(repoPath, "compose.**yml", msg, internal.Dry); err != nil {
|
return err
|
||||||
return err
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Reference in New Issue