diff --git a/Dockerfile b/Dockerfile index eb9f0424..7fca82da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -66,7 +66,7 @@ RUN \ elif [ "$ARCH" = "aarch64" ]; then ARCH="arm64"; \ else echo "Unsupported architecture: $ARCH" && exit 1; fi && \ mkdir -p /go/gows/bin && \ - wget -O /go/gows/bin/gows https://github.com/${GOWS_GITHUB_REPO}/releases/download/v.${GOWS_SHA}/gows-${ARCH} && \ + wget -O /go/gows/bin/gows https://github.com/${GOWS_GITHUB_REPO}/releases/download/${GOWS_SHA}/gows-${ARCH} && \ chmod +x /go/gows/bin/gows diff --git a/scripts/gows-proto.js b/scripts/gows-proto.js index 1b44e35f..590b63e9 100644 --- a/scripts/gows-proto.js +++ b/scripts/gows-proto.js @@ -53,7 +53,7 @@ function cleanDirectory(directory, suffix) { // Helper function to download files async function downloadFiles(repo, ref, directory) { for (const file of PROTO_FILES) { - const url = `https://github.com/${repo}/releases/download/v.${ref}/${file}`; + const url = `https://github.com/${repo}/releases/download/${ref}/${file}`; const filePath = path.join(directory, file); try { const response = await axios.get(url, { responseType: 'arraybuffer' });