diff options
author | 2020-01-23 16:06:52 +0100 | |
---|---|---|
committer | 2020-01-23 07:06:52 -0800 | |
commit | ff981b1d6947ffa4d023c895b5618f88923b0a4b (patch) | |
tree | e9399798dda06deb8deec06a068dbdcaa12ea52e /Makefile.release | |
parent | 166ea107801faa9da40f35869823f9573d82718e (diff) | |
download | coredns-ff981b1d6947ffa4d023c895b5618f88923b0a4b.tar.gz coredns-ff981b1d6947ffa4d023c895b5618f88923b0a4b.tar.zst coredns-ff981b1d6947ffa4d023c895b5618f88923b0a4b.zip |
Prepare release: (#3614)
* run Makefile.doc to update to the latest
* add prs and authors to Makefile.release to aid in creating release
notes. And update the comments in the makefile.
* add 1.6.7 release notes.
Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'Makefile.release')
-rw-r--r-- | Makefile.release | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/Makefile.release b/Makefile.release index b346216c7..852a02f59 100644 --- a/Makefile.release +++ b/Makefile.release @@ -8,10 +8,12 @@ # These are published on coredns.io. For example see: notes/coredns-1.5.1.md # # Getting the authors for this release is done with the following command line +# See the 'authors' target. # -# git log --pretty=format:'%an' v$(VERSION)..master | sort -u +# git log --pretty=format:'%an' $(git describe --tags --abbrev=0)..master | sort -u # # Getting all pull requests merged since the last tag can be done with this "oneliner" +# See the 'prs' target. # # % git log $(git describe --tags --abbrev=0)..HEAD --oneline | awk ' { $1="";print } ' | sed 's/^ //' | sed -e 's|#\([0-9]\)|https://github.com/coredns/coredns/pull/\1|' # @@ -162,3 +164,13 @@ version: clean: rm -rf release rm -rf build + +.PHONY: prs +prs: + git log $$(git describe --tags --abbrev=0)..HEAD --oneline | awk ' { $$1="";print } ' | sed 's/^ //' | sed -e 's|#\([0-9]\)|https://github.com/coredns/coredns/pull/\1|' | \ + grep -v '^build(deps)' | \ + grep -v '^auto go mod tidy' + +.PHONY: authors +authors: + git log --pretty=format:'%an' $$(git describe --tags --abbrev=0)..master | sort -u |