Files
old-vegeta/release.sh

12 lines
252 B
Bash
Raw Normal View History

#!/bin/sh
for OS in "linux" "darwin"; do
2013-11-05 08:17:32 +00:00
for ARCH in "amd64"; do
GOOS=$OS CGO_ENABLED=0 GOARCH=$ARCH go build -o vegeta
REV=$(git rev-parse HEAD)
ARCHIVE=vegeta-$OS-$ARCH-${REV:0:7}.tar.gz
tar -czf $ARCHIVE vegeta
echo $ARCHIVE
done
done