Skip to content

Commit

Permalink
fix(goreleaser-pro): align published version to version in package
Browse files Browse the repository at this point in the history
  • Loading branch information
silentJET85 authored and philclifford committed Jan 1, 2025
1 parent c708dbd commit f993725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 01-main/packages/goreleaser-pro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARCHS_SUPPORTED="amd64 arm64 armhf i386"
get_github_releases "goreleaser/goreleaser-pro" "latest"
if [ "${ACTION}" != "prettylist" ]; then
URL=$(grep -m 1 "browser_download_url.*${HOST_ARCH}\.deb\"" "${CACHE_FILE}" | cut -d'"' -f4)
VERSION_PUBLISHED=$(cut -d'/' -f8 <<<"${URL}" | sed 's|v||')
VERSION_PUBLISHED=$(cut -d'/' -f8 <<<"${URL}" | sed -E 's|v([^\-]*)\-(pro)|\1\~\2|')
fi
PRETTY_NAME="Goreleaser Pro"
WEBSITE="https://goreleaser.com/pro"
Expand Down

0 comments on commit f993725

Please sign in to comment.