SCRIPTS: make announce release support preparing announces before tag exists
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Jan 2021 14:46:33 +0000 (15:46 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 6 Jan 2021 16:24:19 +0000 (17:24 +0100)
commitfa5c2416c15a76400242626d3b5460c181e133fc
tree7d052faf88ba593b607884897c854ddfb4f96379
parentd1754b6f0c0578569cf4673e01dfb547e2558bc3
SCRIPTS: make announce release support preparing announces before tag exists

It takes so much time to write an announce message that sometimes it's
annoying not being able to start the work while a fix is being finished.
With the new "-p" argument, announce-release will allow to prepare the
announce message for the current HEAD and with no tag yet. It will
restart from the last tag and automatically increment the version using
the same algorithm as create-release so that everything is accurate. It
should then be easier at the last moment to just include the final entry
by hand when the last fix finally arrives. For convenience, this argument
also allows to create an announce from another branch than master.

(cherry picked from commit 96d5368202705de79756ebe7da78beb1af11fb2d)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
scripts/announce-release