From fea80d880dc745c643b9076a82b8fe3a6406835a Mon Sep 17 00:00:00 2001 From: Lorenzo Fontana Date: Thu, 19 Sep 2019 15:53:05 +0200 Subject: [PATCH] update: release command and documentation Signed-off-by: Lorenzo Fontana --- Makefile | 4 ++++ docs/release.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index af416208..1dc1bbe8 100644 --- a/Makefile +++ b/Makefile @@ -41,6 +41,10 @@ ${trace_runner}: cross: IMAGE_NAME=$(IMAGE_NAME) GO111MODULE=on goreleaser --snapshot --rm-dist +.PHONY: release +release: + IMAGE_NAME=$(IMAGE_NAME) GO111MODULE=on goreleaser --rm-dist + .PHONY: clean clean: $(RM) -R _output diff --git a/docs/release.md b/docs/release.md index 6b73b821..97b212bc 100644 --- a/docs/release.md +++ b/docs/release.md @@ -23,6 +23,6 @@ Run goreleaser, make sure to export your GitHub token first. ``` export GITHUB_TOKEN= -make cross +make release ```