Skip to content

Commit

Permalink
Split bin from prerelease guard so we can cross-compile dev builds
Browse files Browse the repository at this point in the history
  • Loading branch information
cbednarski committed Oct 7, 2015
1 parent a3a7c97 commit 52e7f89
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ default: test dev

ci: deps test

release: updatedeps test bin
release: updatedeps test releasebin

bin: deps
@sh -c "$(CURDIR)/scripts/build.sh"

releasebin: deps
@grep 'const VersionPrerelease = ""' version.go > /dev/null ; if [ $$? -ne 0 ]; then \
echo "ERROR: You must remove prerelease tags from version.go prior to release."; \
exit 1; \
Expand Down Expand Up @@ -77,4 +80,4 @@ updatedeps:
fi
@echo "INFO: Currently on $(GITBRANCH) ($(GITSHA))"

.PHONY: bin checkversion ci default deps generate test testacc testrace updatedeps
.PHONY: bin checkversion ci default deps generate releasebin test testacc testrace updatedeps

0 comments on commit 52e7f89

Please sign in to comment.