Skip to content

Commit

Permalink
Updated Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
hassansin committed Aug 28, 2017
1 parent d2742f5 commit e2de50f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@


.PHONY: setup test release rabbit
.PHONY: setup test release rabbit delete-tag

setup:
go get -u github.com/govend/govend
Expand All @@ -10,4 +8,7 @@ rabbit:
docker run --rm -d --name rabbit -p 5672:5672 -p 15672:15672 rabbitmq:3.6.5-management
# make release tag=v0.0.1
release:
git tag -a $(tag) -m $(tag) && git push origin $(tag) && goreleaser
git tag -a $(tag) -m $(tag) && git push origin $(tag) && goreleaser --rm-dist
# make delete-tag tag=v0.0.X
delete-tag:
git tag -d $(tag) && git push origin :$(tag) && rm -rf dist

0 comments on commit e2de50f

Please sign in to comment.