Reflect chaos deploy when selecting recipe version

Closes #185.
This commit is contained in:
decentral1se 2021-07-04 22:13:57 +02:00
parent 07696760b7
commit 3d8ce3492e
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 5 additions and 1 deletions

6
abra
View File

@ -685,7 +685,11 @@ get_recipe_version_latest() {
info "No versions found"
else
VERSION="${RECIPE_VERSIONS[-1]}"
info "Chose version $VERSION"
if [ "$abra___chaos" = "true" ]; then
info "Not choosing a version and instead deploying from latest commit"
else
info "Chose version $VERSION"
fi
fi
}