aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-07-17 14:29:36 +0200
committerLoïc Hoguin <[email protected]>2019-07-17 14:29:36 +0200
commitd0e8ae7c51b454e20e96f01fe829afdfb10715d5 (patch)
tree563823e28446ea378351625b92121c8c258a489b /Makefile
parentdb3bd0133ed23f225d62c9a7eeac944ad1a312b1 (diff)
downloadranch-d0e8ae7c51b454e20e96f01fe829afdfb10715d5.tar.gz
ranch-d0e8ae7c51b454e20e96f01fe829afdfb10715d5.tar.bz2
ranch-d0e8ae7c51b454e20e96f01fe829afdfb10715d5.zip
Ranch 2.0.0-rc.1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 21 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a1a6ff9..02d8c61 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
PROJECT = ranch
PROJECT_DESCRIPTION = Socket acceptor pool for TCP protocols.
-PROJECT_VERSION = 1.7.1
+PROJECT_VERSION = 2.0.0-rc.1
PROJECT_REGISTERED = ranch_server
# Options.
@@ -58,3 +58,23 @@ DIALYZER_OPTS += --src -r test
ci-setup:: $(DEPS_DIR)/ct_helper
$(gen_verbose) cp ~/.kerl/builds/$(CI_OTP_RELEASE)/otp_src_git/lib/ssl/test/erl_make_certs.erl deps/ct_helper/src/ || true
$(gen_verbose) $(MAKE) -C $(DEPS_DIR)/ct_helper clean app
+
+# 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