From 1020007568a47309dde1bb35f9fa374955bbee96 Mon Sep 17 00:00:00 2001 From: Ilya Margolin Date: Wed, 13 Apr 2016 18:38:06 +0200 Subject: [PATCH] Fail faster --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 81bcf77..96f3965 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ build: release-build: docker run -v $(CURDIR):/src -e CGO_ENABLED=true -e LDFLAGS='-extldflags "-static"' -e COMPRESS_BINARY=true centurylink/golang-builder -release: release-build guard-GITHUB_TOKEN guard-VERSION +release: guard-GITHUB_TOKEN guard-VERSION release-build git tag v$(VERSION) && git push origin v$(VERSION) docker run -e GITHUB_TOKEN=$(GITHUB_TOKEN) jimdo/github-release release --user Jimdo --repo asg-ebs --tag v$(VERSION) docker run -e GITHUB_TOKEN=$(GITHUB_TOKEN) -v $(CURDIR):/src -w /src jimdo/github-release upload --user Jimdo --repo asg-ebs --tag v$(VERSION) --name "asg-ebs" --file asg-ebs