aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.release11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile.release b/Makefile.release
index 2e8ecd6cd..f58fae00c 100644
--- a/Makefile.release
+++ b/Makefile.release
@@ -20,21 +20,28 @@
# * Get an access token: https://help.github.com/articles/creating-an-access-token-for-command-line-use/
# * export GITHUB_ACCESS_TOKEN=<token>
# * Up the version in coremain/version.go
-# * Commit -am'releasing <version>
# * Run: make -f Makefile.release
+# * will commit your change with 'Release $VERSION'
+# * push to github
+# * build the release and do all that fluff.
NAME=coredns
VERSION:=$(shell grep 'coreVersion' coremain/version.go | awk '{ print $$3 }' | tr -d '"')
ARCH=$(shell uname -m)
GITHUB=miekg
-all: push build release
+all: commit push build release
.PHONY: push
push:
@echo Pushing release to master
git push
+.PHONY: commit
+commit:
+ @echo Committing
+ git commit -am"Release $(VERSION)"
+
.PHONY: build
build:
@echo Releasing: $(VERSION)