From f75d7893227230a1d7ab8f2a1a07539d7bb6fb01 Mon Sep 17 00:00:00 2001 From: Theile Date: Wed, 12 Oct 2022 10:11:04 +0200 Subject: [PATCH] `appNewVersion` fixed! --- fragments/labels/ibmnotifier.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fragments/labels/ibmnotifier.sh b/fragments/labels/ibmnotifier.sh index 6f4844e..de8b247 100644 --- a/fragments/labels/ibmnotifier.sh +++ b/fragments/labels/ibmnotifier.sh @@ -2,6 +2,7 @@ ibmnotifier) name="IBM Notifier" type="zip" downloadURL="$(downloadURLFromGit IBM mac-ibm-notifications)" - appNewVersion="$(versionFromGit IBM mac-ibm-notifications)" + #appNewVersion="$(versionFromGit IBM mac-ibm-notifications)" + appNewVersion="$(curl -sLI "https://github.com/IBM/mac-ibm-notifications/releases/latest" | grep -i "^location" | tr "/" "\n" | tail -1 | cut -d "-" -f2 | sed 's/[^0-9\.]//g')" expectedTeamID="PETKK2G752" ;;