Skip to content

Commit

Permalink
follow redirects with curl
Browse files Browse the repository at this point in the history
  • Loading branch information
mna committed Jul 13, 2017
1 parent 30650e5 commit 1d6710c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/scripts/version_sha.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -euo pipefail

version=$(git describe --tags)
srcArchivePath=$(mktemp -t regis-companion.XXXX)
curl -o ${srcArchivePath} "https://github.com/harfangapps/regis-companion/archive/${version}.tar.gz"
curl -o ${srcArchivePath} -L "https://github.com/harfangapps/regis-companion/archive/${version}.tar.gz"
sha=$(shasum -a 256 ${srcArchivePath})
echo "SHA256 for Homebrew formula: ${sha}"
unlink ${srcArchivePath}
Expand Down

0 comments on commit 1d6710c

Please sign in to comment.