feat: support chaos commits on deploy

See coop-cloud/organising#517
This commit is contained in:
2024-07-09 11:31:52 +02:00
parent 0ff8e49cfd
commit 2fb5493ab5
10 changed files with 115 additions and 35 deletions

View File

@ -91,7 +91,7 @@ var appNewCommand = cli.Command{
version = tag
}
if err := recipe.EnsureVersion(version); err != nil {
if _, err := recipe.EnsureVersion(version); err != nil {
log.Fatal(err)
}
} else {
@ -100,7 +100,7 @@ var appNewCommand = cli.Command{
}
}
} else {
if err := recipe.EnsureVersion(c.Args().Get(1)); err != nil {
if _, err := recipe.EnsureVersion(c.Args().Get(1)); err != nil {
log.Fatal(err)
}
}