From 5c5dd8f55c8fcd11c1f8febf23f47934bf91d04f Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 28 Jul 2018 16:25:50 -0400 Subject: [PATCH] fix: correct release process --- .gitignore | 3 +++ Makefile | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 7c864ee..450eeb2 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,6 @@ # Build output build/* + +# Release output +release/* diff --git a/Makefile b/Makefile index 1389961..2c4b0af 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,9 @@ NAME = procfile-util MAINTAINER = josegonzalez +REPOSITORY = go-procfile-util HARDWARE = $(shell uname -m) VERSION ?= 0.0.1 -IMAGE_NAME ?= $(NAME) +IMAGE_NAME ?= $(MAINTAINER)/$(NAME) BUILD_TAG ?= dev build: @@ -34,4 +35,4 @@ release: build rm -rf release && mkdir release tar -zcf release/$(NAME)_$(VERSION)_linux_$(HARDWARE).tgz -C build/linux $(NAME) tar -zcf release/$(NAME)_$(VERSION)_darwin_$(HARDWARE).tgz -C build/darwin $(NAME) - gh-release create $(MAINTAINER)/$(NAME) $(VERSION) $(shell git rev-parse --abbrev-ref HEAD) + gh-release create $(MAINTAINER)/$(REPOSITORY) $(VERSION) $(shell git rev-parse --abbrev-ref HEAD)