From 7f5fbd9998fb2a56168686fcef8ab6c6d34b1963 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Tue, 8 Mar 2022 10:05:30 -0500 Subject: [PATCH] test --- 02-topgrade.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/02-topgrade.sh b/02-topgrade.sh index 576f472..cb63015 100644 --- a/02-topgrade.sh +++ b/02-topgrade.sh @@ -30,7 +30,9 @@ if [ ! -f "$topgrade_binary" ]; then echo "** topgrade binary not present at $topgrade_binary" else current_version=$($topgrade_binary --version | sed 's/[^0-9]*//g') + echo $current_version newest_release=$(curl -sL https://api.github.com/repos/$topgrade_git_owner/$topgrade_git_repo/releases/latest | jq -r ".tag_name" | sed 's/[^0-9]*//g') + echo $newest_release fi echo "checking for topgrade confs"