Skip to content

Commit

Permalink
fix(whalebird): revert breakage by 1174
Browse files Browse the repository at this point in the history
Replace fix for upstream release rename that will still work if they change back and
correct derivation of versioning that were lost in merge of #1174.

Also retains and extends grep improvements from #1174 and removes a surplus head
Supcercedes and closes
Closes #1177

Co-authored-by: Ross Smith II  <rasa@users.noreply.github.com>
  • Loading branch information
2 people authored and flexiondotorg committed Oct 4, 2024
1 parent d923967 commit 99ab088
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 01-main/packages/whalebird
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ DEFVER=1
ARCHS_SUPPORTED="amd64"
get_github_releases "h3poteto/whalebird-desktop"
if [ "${ACTION}" != "prettylist" ]; then
URL="$(grep "browser_download_url.*amd64\.deb\"" "${CACHE_FILE}" | grep -E -v '(alpha|beta)' | head -n1 | cut -d'"' -f4)"
VERSION_PUBLISHED="$(echo "${URL}" | cut -d'/' -f8)"
URL="$(grep "browser_download_url.*64\.deb\"" "${CACHE_FILE}" | grep -m 1 -E -v '(alpha|beta|-rc)\.' | cut -d'"' -f4)"
VERSION_PUBLISHED="$(echo "${URL}" | cut -d'/' -f8 | tr -d v)"
fi
PRETTY_NAME="Whalebird"
WEBSITE="https://whalebird.social/"
Expand Down

0 comments on commit 99ab088

Please # to comment.