feat: define recipe version inside app env file

This commit is contained in:
2024-07-08 17:11:15 +02:00
parent 790dbca362
commit 4085eb6654
11 changed files with 81 additions and 53 deletions

View File

@ -86,6 +86,9 @@ EXAMPLE:
}
specificVersion := c.Args().Get(1)
if specificVersion == "" {
specificVersion = app.Recipe.Version
}
if specificVersion != "" {
parsedDeployedVersion, err := tagcmp.Parse(deployMeta.Version)
if err != nil {