aboutsummaryrefslogtreecommitdiffstats
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
parentdb3bd0133ed23f225d62c9a7eeac944ad1a312b1 (diff)
downloadranch-d0e8ae7c51b454e20e96f01fe829afdfb10715d5.tar.gz
ranch-d0e8ae7c51b454e20e96f01fe829afdfb10715d5.tar.bz2
ranch-d0e8ae7c51b454e20e96f01fe829afdfb10715d5.zip
Ranch 2.0.0-rc.1
-rw-r--r--Makefile22
-rw-r--r--README.asciidoc4
-rw-r--r--ebin/ranch.app2
3 files changed, 24 insertions, 4 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
diff --git a/README.asciidoc b/README.asciidoc
index aa702b7..952f131 100644
--- a/README.asciidoc
+++ b/README.asciidoc
@@ -19,8 +19,8 @@ to close any of the currently opened sockets.
== Online documentation
-* https://ninenines.eu/docs/en/ranch/1.7/guide[User guide]
-* https://ninenines.eu/docs/en/ranch/1.7/manual[Function reference]
+* https://ninenines.eu/docs/en/ranch/2.0/guide[User guide]
+* https://ninenines.eu/docs/en/ranch/2.0/manual[Function reference]
== Offline documentation
diff --git a/ebin/ranch.app b/ebin/ranch.app
index cf51ced..31682c6 100644
--- a/ebin/ranch.app
+++ b/ebin/ranch.app
@@ -1,6 +1,6 @@
{application, 'ranch', [
{description, "Socket acceptor pool for TCP protocols."},
- {vsn, "1.7.1"},
+ {vsn, "2.0.0-rc.1"},
{modules, ['ranch','ranch_acceptor','ranch_acceptors_sup','ranch_app','ranch_conns_sup','ranch_conns_sup_sup','ranch_crc32c','ranch_embedded_sup','ranch_listener_sup','ranch_protocol','ranch_proxy_header','ranch_server','ranch_server_proxy','ranch_ssl','ranch_sup','ranch_tcp','ranch_transport']},
{registered, [ranch_sup,ranch_server]},
{applications, [kernel,stdlib,ssl]},