run the sum generation in the release script instead of build

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
Evan Hazlett 2015-03-30 13:11:33 -04:00
parent d121c4d742
commit d32f30b14e
No known key found for this signature in database
GPG Key ID: A519480096146526
2 changed files with 1 additions and 2 deletions

View File

@ -16,5 +16,3 @@ fi
docker build -t docker-machine .
rm -f docker-machine*
docker run --rm -v `pwd`:/go/src/github.com/docker/machine docker-machine gox "${OS_PLATFORM_ARG[@]}" "${OS_ARCH_ARG[@]}" -output="docker-machine_{{.OS}}-{{.Arch}}" -ldflags="-w -X github.com/docker/machine/version.GITCOMMIT `git rev-parse --short HEAD`"
exec docker run --rm -v `pwd`:/go/src/github.com/docker/machine docker-machine ./script/generate-sums

View File

@ -31,3 +31,4 @@ for BINARY in docker-machine_*; do
--file $BINARY
done
docker run --rm -v `pwd`:/go/src/github.com/docker/machine docker-machine ./script/generate-sums