aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-09-27 09:12:34 +0200
committerLoïc Hoguin <[email protected]>2019-09-27 09:12:34 +0200
commit74ac4d209c86f64059b1eaa0e541eb7d26dd23a8 (patch)
tree29a9b6c4fa63244d5c86f6d1a079f310144b324b /Makefile
parent91082c1d6307ee467b835408f5afde5ce81c507e (diff)
downloadgun-74ac4d209c86f64059b1eaa0e541eb7d26dd23a8.tar.gz
gun-74ac4d209c86f64059b1eaa0e541eb7d26dd23a8.tar.bz2
gun-74ac4d209c86f64059b1eaa0e541eb7d26dd23a8.zip
Gun 2.0.0-pre.12.0.0-pre.1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 21 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8410fde..9a0dc25 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
PROJECT = gun
PROJECT_DESCRIPTION = HTTP/1.1, HTTP/2 and Websocket client for Erlang/OTP.
-PROJECT_VERSION = 1.3.0
+PROJECT_VERSION = 2.0.0-pre.1
# Options.
@@ -67,3 +67,23 @@ $(H2SPECD):
-$(verbose) git clone --depth 1 https://github.com/summerwind/h2spec $(dir $(H2SPECD))
-$(verbose) $(MAKE) -C $(dir $(H2SPECD)) build MAKEFLAGS=
-$(verbose) go build -o $(H2SPECD) $(dir $(H2SPECD))/cmd/h2spec/h2specd.go
+
+# Prepare for the release.
+
+prepare_tag:
+ $(verbose) echo -n "Most recent tag: "
+ $(verbose) git tag | tail -n1
+ $(verbose) git verify-tag `git tag | tail -n1`
+ $(verbose) echo -n "MAKEFILE: "
+ $(verbose) grep -m1 PROJECT_VERSION Makefile
+ $(verbose) echo -n "APP: "
+ $(verbose) grep -m1 vsn ebin/$(PROJECT).app | sed 's/ //g'
+ $(verbose) echo
+ $(verbose) echo "Links in the README:"
+ $(verbose) grep http.*:// README.asciidoc
+ $(verbose) echo
+ $(verbose) echo "Titles in most recent CHANGELOG:"
+ $(verbose) for f in `ls -rv doc/src/guide/migrating_from_*.asciidoc | head -n1`; do \
+ echo $$f:; \
+ grep == $$f; \
+ done