fix: avoid overwriting non version env vars
See coop-cloud/organising#630
This commit is contained in:
@ -258,7 +258,7 @@ EXAMPLE:
|
||||
app.Recipe.Version = chaosVersion
|
||||
}
|
||||
log.Debugf("choosing %s as version to save to env file", app.Recipe.Version)
|
||||
if err := app.WriteRecipeVersion(app.Recipe.Version); err != nil {
|
||||
if err := app.WriteRecipeVersion(app.Recipe.Version, false); err != nil {
|
||||
log.Fatalf("writing new recipe version in env file: %s", err)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user