diff options
author | Loïc Hoguin <essen@ninenines.eu> | 2021-09-02 11:41:14 +0200 |
---|---|---|
committer | Loïc Hoguin <essen@ninenines.eu> | 2021-09-02 11:41:14 +0200 |
commit | f0fefa074e5afc3ee0be97ff70f7b85a88c59dea (patch) | |
tree | ec861954aeeed06809230bf5573ce9c656d61ef0 | |
parent | 527b3aba84213ef0e2e4d99da7b795e2b0b0aec7 (diff) | |
download | ranch-f0fefa074e5afc3ee0be97ff70f7b85a88c59dea.tar.gz ranch-f0fefa074e5afc3ee0be97ff70f7b85a88c59dea.tar.bz2 ranch-f0fefa074e5afc3ee0be97ff70f7b85a88c59dea.zip |
Begin preparing the 2.1.0 release
Version updated, Hex metadata added, prepare_tag improved.
-rw-r--r-- | Makefile | 24 | ||||
-rw-r--r-- | README.asciidoc | 4 | ||||
-rw-r--r-- | ebin/ranch.app | 2 |
3 files changed, 26 insertions, 4 deletions
@@ -2,7 +2,7 @@ PROJECT = ranch PROJECT_DESCRIPTION = Socket acceptor pool for TCP protocols. -PROJECT_VERSION = 2.0.0 +PROJECT_VERSION = 2.1.0 PROJECT_REGISTERED = ranch_server # Options. @@ -35,6 +35,20 @@ AUTO_CI_HIPE ?= OTP-LATEST # AUTO_CI_ERLLVM ?= OTP-LATEST AUTO_CI_WINDOWS ?= OTP-22+ +# Hex configuration. + +define HEX_TARBALL_EXTRA_METADATA +#{ + licenses => [<<"ISC">>], + links => #{ + <<"User guide">> => <<"https://ninenines.eu/docs/en/ranch/2.1/guide/">>, + <<"Function reference">> => <<"https://ninenines.eu/docs/en/ranch/2.1/manual/">>, + <<"GitHub">> => <<"https://github.com/ninenines/ranch">>, + <<"Sponsor">> => <<"https://github.com/sponsors/essen">> + } +} +endef + # Standard targets. include erlang.mk @@ -67,6 +81,8 @@ ci-setup:: $(DEPS_DIR)/ct_helper # Prepare for the release. prepare_tag: + $(verbose) $(warning Hex metadata: $(HEX_TARBALL_EXTRA_METADATA)) + $(verbose) echo $(verbose) echo -n "Most recent tag: " $(verbose) git tag --sort=creatordate | tail -n1 $(verbose) git verify-tag `git tag --sort=creatordate | tail -n1` @@ -76,6 +92,12 @@ prepare_tag: $(verbose) grep -m1 vsn ebin/$(PROJECT).app | sed 's/ //g' $(verbose) echo -n "APPUP: " $(verbose) grep -m1 {\" src/$(PROJECT).appup + $(verbose) echo -n "GUIDE: " + $(verbose) grep -h dep_$(PROJECT)_commit doc/src/guide/*.asciidoc || true + $(verbose) echo + $(verbose) echo "Dependencies:" + $(verbose) grep ^DEPS Makefile || echo "DEPS =" + $(verbose) grep ^dep_ Makefile || true $(verbose) echo $(verbose) echo "Links in the README:" $(verbose) grep http.*:// README.asciidoc diff --git a/README.asciidoc b/README.asciidoc index 274ddfc..eb3e482 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/2.0/guide[User guide] -* https://ninenines.eu/docs/en/ranch/2.0/manual[Function reference] +* https://ninenines.eu/docs/en/ranch/2.1/guide[User guide] +* https://ninenines.eu/docs/en/ranch/2.1/manual[Function reference] == Offline documentation diff --git a/ebin/ranch.app b/ebin/ranch.app index 86ffd6b..b4488ae 100644 --- a/ebin/ranch.app +++ b/ebin/ranch.app @@ -1,6 +1,6 @@ {application, 'ranch', [ {description, "Socket acceptor pool for TCP protocols."}, - {vsn, "2.0.0"}, + {vsn, "2.1.0"}, {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]}, |