From 74ac4d209c86f64059b1eaa0e541eb7d26dd23a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 27 Sep 2019 09:12:34 +0200 Subject: Gun 2.0.0-pre.1 --- Makefile | 22 +++++++++++++++++++++- ebin/gun.app | 2 +- 2 files changed, 22 insertions(+), 2 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 diff --git a/ebin/gun.app b/ebin/gun.app index 9963c83..34bd62c 100644 --- a/ebin/gun.app +++ b/ebin/gun.app @@ -1,6 +1,6 @@ {application, 'gun', [ {description, "HTTP/1.1, HTTP/2 and Websocket client for Erlang/OTP."}, - {vsn, "1.3.0"}, + {vsn, "2.0.0-pre.1"}, {modules, ['gun','gun_app','gun_content_handler','gun_data_h','gun_default_event_h','gun_event','gun_http','gun_http2','gun_raw','gun_socks','gun_sse_h','gun_sup','gun_tcp','gun_tls','gun_tls_proxy','gun_tls_proxy_cb','gun_ws','gun_ws_h']}, {registered, [gun_sup]}, {applications, [kernel,stdlib,ssl,cowlib]}, -- cgit v1.2.3