fix: ensure version for regular deploy
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2021-11-02 15:16:19 +01:00
parent 7f176d8e2f
commit c76601c9ce
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 6 additions and 0 deletions

View File

@ -90,6 +90,12 @@ recipes.
}
}
if !internal.Chaos {
if err := recipe.EnsureVersion(app.Type, version); err != nil {
logrus.Fatal(err)
}
}
if internal.Chaos {
logrus.Warnf("chaos mode engaged")
var err error