mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 08:55:43 +03:00
Also tease out some dev and docker bits from Vagrant scripts to ease sharing with Docker script
21 lines
457 B
Bash
Executable File
21 lines
457 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
. ~/.nvm/nvm.sh
|
|
|
|
set -e
|
|
set -x
|
|
|
|
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
|