Skip to content

Commit

Permalink
fix: correct release process
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Jul 28, 2018
1 parent 5737ea6 commit 5c5dd8f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@

# Build output
build/*

# Release output
release/*
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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)

0 comments on commit 5c5dd8f

Please sign in to comment.