Skip to content

Commit

Permalink
Update build stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
CWSpear committed Jun 9, 2016
1 parent 7a42439 commit dfb102f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ run:
docker-run:
./scripts/docker-run.sh

release: binaries
release:
./scripts/release.sh

# build for current architecture
Expand Down
5 changes: 5 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ nocolor='\033[0m' # No Color
USER=cwspear
REPO=local-persist

# check to make sure github-release is installed!
github-release --version > /dev/null || exit

# build binaries in a golang build image
docker run -it -v `pwd`:/go/src/app golang:onbuild /bin/bash -c "go get -v -d; make binaries"

if [[ $RELEASE_NAME == "" ]]; then
echo -e ${cyan}Enter release name:${nocolor}
Expand Down

0 comments on commit dfb102f

Please sign in to comment.