From f1c1f257410897a0cad33c26777b17206f958749 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Mon, 6 Sep 2021 13:12:37 +0200 Subject: [PATCH] abra speaks the new list format. Also new patch --- CHANGELOG.md | 12 ++++++++++++ abra | 4 ++-- deploy/install.abra.coopcloud.tech/installer | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 40ee5c5..4fb0b3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,18 @@ # abra x.x.x (UNRELEASED) +# abra 10.0.4 (????-??-??) + +- Understand how to parse the new catalogue versions listing. + +# abra 10.0.3 (????-??-??) + +- Sorry folks, no change log. + +# abra 10.0.2 (????-??-??) + +- Sorry folks, no change log. + # abra 10.0.1 (2021-07-30) - New `recipe .. lint` command ([#202](https://git.autonomic.zone/coop-cloud/abra/issues/202)) diff --git a/abra b/abra index d216fa4..3813ba7 100755 --- a/abra +++ b/abra @@ -5,7 +5,7 @@ GIT_URL="https://git.coopcloud.tech/coop-cloud/" ABRA_APPS_URL="https://apps.coopcloud.tech" ABRA_DIR="${ABRA_DIR:-$HOME/.abra}" -ABRA_VERSION="10.0.1" +ABRA_VERSION="10.0.4" ABRA_BACKUP_DIR="${ABRA_BACKUP_DIR:-$ABRA_DIR/backups}" ABRA_VENDOR_DIR="$ABRA_DIR/vendor" ABRA_APPS_JSON="${ABRA_DIR}/apps.json" @@ -697,7 +697,7 @@ get_recipe_versions() { if [ "$recipe_json" = "null" ]; then declare -a RECIPE_VERSIONS else - mapfile -t RECIPE_VERSIONS < <(echo "$recipe_json" | $JQ -r ".versions | keys | .[]" - | sort) + mapfile -t RECIPE_VERSIONS < <(echo "$recipe_json" | $JQ -r ".versions | keys | .[]") fi } diff --git a/deploy/install.abra.coopcloud.tech/installer b/deploy/install.abra.coopcloud.tech/installer index 1c94370..194f627 100755 --- a/deploy/install.abra.coopcloud.tech/installer +++ b/deploy/install.abra.coopcloud.tech/installer @@ -2,7 +2,7 @@ # shellcheck disable=SC2154,SC2034 -ABRA_VERSION="10.0.3" +ABRA_VERSION="10.0.4" GIT_URL="https://git.coopcloud.tech/coop-cloud/abra" ABRA_SRC="$GIT_URL/raw/tag/$ABRA_VERSION/abra" ABRA_DIR="${ABRA_DIR:-$HOME/.abra}"