Skip to content

Commit

Permalink
Create shasum for binary distributions with correct filename (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
pior committed May 27, 2018
1 parent cd2dfbd commit 47891c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion script/buildall
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@ for GOOS in linux darwin; do

echo "Building $NAME"
GOARCH=amd64 CGO_ENABLED=0 go build -a -installsuffix cgo -ldflags "$LDFLAGS" -o dist/${NAME}
shasum -a 256 dist/${NAME} > dist/${NAME}.sha256

pushd dist
shasum -a 256 ${NAME} > ${NAME}.sha256
popd
done

0 comments on commit 47891c8

Please sign in to comment.