Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 18 lines (11 sloc) 466 Bytes
#!/usr/bin/env bash
set -euo pipefail
run_dir=$(pwd)
cd $(mktemp -d)
echo "Downloading build artefacts to temporary directory:"
pwd
curl https://api.github.com/repos/atomiclabs/hyperdex/releases/latest | jq '.assets[].browser_download_url' | xargs wget
echo "Calculating checksums and signing the result..."
export GPG_TTY=$(tty)
shasum --algorithm 256 * | gpg --clearsign --local-user HyperDEX > "$run_dir/SHASUMS256.txt.asc"
echo "Created SHASUM256.txt.asc"
You can’t perform that action at this time.