From 7edcf5087b331039d4e17930dda318b9e16550e2 Mon Sep 17 00:00:00 2001 From: silentJET85 Date: Wed, 1 Jan 2025 08:06:51 -0600 Subject: [PATCH] fix(eversticky): align published version to version in package --- 01-main/packages/eversticky | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01-main/packages/eversticky b/01-main/packages/eversticky index 1194b3ea..8bd2debc 100644 --- a/01-main/packages/eversticky +++ b/01-main/packages/eversticky @@ -2,7 +2,7 @@ DEFVER=1 get_github_releases "itsmejoeeey/eversticky" "latest" if [ "${ACTION}" != prettylist ]; then URL="$(grep -m 1 "browser_download_url.*\.deb\"" "${CACHE_FILE}" | cut -d '"' -f 4)" - VERSION_PUBLISHED="$(cut -d '_' -f 2 <<< "${URL}")" + VERSION_PUBLISHED="$(sed -E 's|.*download/v([^/]*).*|\1|' <<< "${URL}")" fi PRETTY_NAME="EverSticky" WEBSITE="https://eversticky.joeeey.com/"