Browse Source

Ranch 2.0.0-rc.1

Loïc Hoguin 5 years ago
parent
commit
d0e8ae7c51
3 changed files with 24 additions and 4 deletions
  1. 21 1
      Makefile
  2. 2 2
      README.asciidoc
  3. 1 1
      ebin/ranch.app

+ 21 - 1
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

+ 2 - 2
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
 

+ 1 - 1
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]},