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