feat: update new version in env file
All checks were successful
continuous-integration/drone/pr Build is passing

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

@ -240,6 +240,13 @@ EXAMPLE:
log.Fatalf("attempting to run post deploy commands, saw: %s", err)
}
}
if app.Recipe.Version != "" && specificVersion != "" && specificVersion != app.Recipe.Version {
err := app.WriteRecipeVersion(specificVersion)
if err != nil {
log.Fatalf("writing new recipe version in env file: %s", err)
}
}
return nil
},
}