Skip to content

Commit 3dfbb92

Browse files
committed
fix(eversticky): align published version to version in package
1 parent c708dbd commit 3dfbb92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

01-main/packages/eversticky

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ DEFVER=1
22
get_github_releases "itsmejoeeey/eversticky" "latest"
33
if [ "${ACTION}" != prettylist ]; then
44
URL="$(grep -m 1 "browser_download_url.*\.deb\"" "${CACHE_FILE}" | cut -d '"' -f 4)"
5-
VERSION_PUBLISHED="$(cut -d '_' -f 2 <<< "${URL}")"
5+
VERSION_PUBLISHED="$(sed -E 's|.*download/v([^/]*).*|\1|' <<< "${URL}")"
66
fi
77
PRETTY_NAME="EverSticky"
88
WEBSITE="https://eversticky.joeeey.com/"

0 commit comments

Comments
 (0)