feat: update new version in env file

This commit is contained in:
2024-07-08 17:55:40 +02:00
parent 4085eb6654
commit 7596982282
4 changed files with 48 additions and 0 deletions

View File

@ -267,6 +267,13 @@ EXAMPLE:
}
}
if app.Recipe.Version != "" {
err := app.WriteRecipeVersion(chosenUpgrade)
if err != nil {
log.Fatalf("writing new recipe version in env file: %s", err)
}
}
return nil
},
}