From 3b84d22c58fedef71bddd760ebafd0e99617e233 Mon Sep 17 00:00:00 2001 From: Tao Li Date: Mon, 25 Nov 2024 17:20:39 +0800 Subject: [PATCH 1/2] fix: skip barman version 3.12.0 Signed-off-by: Tao Li --- UBI/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UBI/update.sh b/UBI/update.sh index 222dc20c..e39c4d79 100755 --- a/UBI/update.sh +++ b/UBI/update.sh @@ -127,7 +127,7 @@ compare_architecture_pkgs() { # Get the latest Barman version latest_barman_version= _raw_get_latest_barman_version() { - curl -s https://pypi.org/pypi/barman/json | jq -r '.releases | keys[]' | sort -Vr | head -n1 + curl -s https://pypi.org/pypi/barman/json | jq -r '.releases | keys[]' | sort -Vr | grep -v '3.12.0' | head -n1 } get_latest_barman_version() { if [ -z "$latest_barman_version" ]; then From d3a8ac1a49ff4cffcaee4921da9db6538db94c2c Mon Sep 17 00:00:00 2001 From: "Jonathan Gonzalez V." Date: Mon, 25 Nov 2024 11:14:07 +0100 Subject: [PATCH 2/2] review Signed-off-by: Jonathan Gonzalez V. --- UBI/update.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UBI/update.sh b/UBI/update.sh index e39c4d79..6a9dd258 100755 --- a/UBI/update.sh +++ b/UBI/update.sh @@ -127,7 +127,8 @@ compare_architecture_pkgs() { # Get the latest Barman version latest_barman_version= _raw_get_latest_barman_version() { - curl -s https://pypi.org/pypi/barman/json | jq -r '.releases | keys[]' | sort -Vr | grep -v '3.12.0' | head -n1 +# curl -s https://pypi.org/pypi/barman/json | jq -r '.releases | keys[]' | sort -Vr | head -n1 + echo "3.11.1" } get_latest_barman_version() { if [ -z "$latest_barman_version" ]; then