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