From 3d8ce3492ef3d40851a999dc1bca3ab998578c3e Mon Sep 17 00:00:00 2001 From: decentral1se Date: Sun, 4 Jul 2021 22:13:57 +0200 Subject: [PATCH] Reflect chaos deploy when selecting recipe version Closes https://git.autonomic.zone/coop-cloud/abra/issues/185. --- abra | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/abra b/abra index d07e9d2..24a8063 100755 --- a/abra +++ b/abra @@ -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 }