Skip to content
This repository has been archived by the owner on Aug 7, 2019. It is now read-only.

Commit

Permalink
Merge pull request #9 from pantheon-systems/test-release
Browse files Browse the repository at this point in the history
be specific about autotag
  • Loading branch information
spheromak committed Jul 20, 2016
2 parents a84e738 + 7353384 commit 30ef5bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Makefile
Expand Up @@ -6,11 +6,11 @@ include scripts/make/common-go.mk
include scripts/make/common-docker.mk

release: _deps-release ## run a release (usually from CI)
release: VERSION=$(shell autotag -n)
release: VERSION=$(shell ~/bin/autotag -n)
release:
@echo "Building release for $(VERSION)"
CIRCLE_BUILD_NUM=$(VERSION) make push-circle
autotag
~/bin/autotag
GOOS=linux go build -o baryon-linux
GOOS=darwin go build -o baryon-darwin
GOOS=windows go build
Expand All @@ -23,7 +23,5 @@ _deps-release: # install tools needed for release, conditionally
ifneq ("$(wildcard Dockerfile))","")
go get github.com/aktau/github-release
endif
ifeq ($(shell which autotag)),)
curl -L https://github.com/pantheon-systems/autotag/releases/download/v0.0.4/autotag.linux.x86_64 -o ~/bin/autotag
chmod 755 ~/bin/autotag
endif
1 change: 1 addition & 0 deletions circle.yml
Expand Up @@ -36,5 +36,6 @@ deployment:
prod:
branch:
- master
- test-release
commands:
- make release

0 comments on commit 30ef5bb

Please sign in to comment.