Skip to content

Commit

Permalink
fix makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
bketelsen committed Mar 2, 2018
1 parent 59a3185 commit 1f33d98
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Expand Up @@ -4,7 +4,6 @@ dist_dir := $(CURDIR)/dist
exec := $(DOCKER_IMAGE)
github_repo := bketelsen/captainhook
GITVERSION ?= dev
MESSAGE ?= "captainhook release"

# V := 1 # When V is set, print commands and build progress.

Expand All @@ -29,9 +28,12 @@ tags:
@echo "Listing tags..."
$Q @git tag

echo:
@echo "MESSAGE " $(MESSAGE)

tag:
@echo "Creating tag" $(GITVERSION)
$Q @git tag -a v$(GITVERSION) -m $(message)
$Q @git tag -a v$(GITVERSION) -m $(GITVERSION)

.PHONY: release
release: clean-dist build tag docker
Expand Down

0 comments on commit 1f33d98

Please sign in to comment.