Skip to content

Commit

Permalink
[fix] download.sh
Browse files Browse the repository at this point in the history
Fix download.sh by specifying .zip and fixing the path to the checksums
file.

This broke with our changes to support releasing to the registry and
this should fix #215.
  • Loading branch information
ryanking committed Jun 23, 2020
1 parent 73e443e commit 8978cc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ PROJECT_NAME="terraform-provider-snowflake"
OWNER=chanzuckerberg
REPO="terraform-provider-snowflake"
BINARY=terraform-provider-snowflake
FORMAT=tar.gz
FORMAT=zip
OS=$(uname_os)
ARCH=$(uname_arch)
PREFIX="$OWNER/$REPO"
Expand Down Expand Up @@ -373,7 +373,7 @@ log_info "found version: ${VERSION} for ${TAG}/${OS}/${ARCH}"
NAME=${PROJECT_NAME}_${VERSION}_${OS}_${ARCH}
TARBALL=${NAME}.${FORMAT}
TARBALL_URL=${GITHUB_DOWNLOAD}/${TAG}/${TARBALL}
CHECKSUM=${PROJECT_NAME}_${VERSION}_checksums.txt
CHECKSUM=${PROJECT_NAME}_${VERSION}_SHA256SUMS
CHECKSUM_URL=${GITHUB_DOWNLOAD}/${TAG}/${CHECKSUM}


Expand Down

0 comments on commit 8978cc6

Please sign in to comment.