open-nomad/scripts/release/docker-build-all

19 lines
455 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
2019-03-18 18:34:09 +00:00
set -o errexit
set -o xtrace
cp -r /tmp/nomad-git /opt/gopath/src/github.com/hashicorp/nomad/.git
cd /opt/gopath/src/github.com/hashicorp/nomad
git checkout .
make -f ./scripts/release/Makefile.linux \
"NOMAD_VERSION=${NOMAD_VERSION}" \
"PRERELEASE_TARGET=${PRERELEASE_TARGET}" \
"RELEASE_TARGET=${RELEASE_TARGET}" \
update_version build_releases
cp -r /opt/gopath/src/github.com/hashicorp/nomad \
/tmp/artifacts/repo