Skip to content

Commit 7b391e8

Browse files
committed
fix install script download url
1 parent f4593d7 commit 7b391e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ OS=$(detect_os)
5454
ARCH=$(detect_arch)
5555
VERSION=$(latest_version)
5656

57-
# goreleaser archive name template: tai_VERSION_OS_ARCH.tar.gz
58-
ARCHIVE="tai_${VERSION}_${OS}_${ARCH}.tar.gz"
57+
# goreleaser archive name template: tai_VERSION_OS_ARCH.tar.gz (version without "v" prefix)
58+
ARCHIVE="tai_${VERSION#v}_${OS}_${ARCH}.tar.gz"
5959
DOWNLOAD_URL="https://github.com/${REPO}/releases/download/${VERSION}/${ARCHIVE}"
6060

6161
printf 'Installing tai %s (%s/%s)...\n' "$VERSION" "$OS" "$ARCH"

0 commit comments

Comments
 (0)