SCRIPTS: improve announce-release to support different tag and versions
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Jan 2021 14:16:46 +0000 (15:16 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 6 Jan 2021 16:24:15 +0000 (17:24 +0100)
commitd1754b6f0c0578569cf4673e01dfb547e2558bc3
tree28bd7efa68961db26c6e4966e63845d3a578cc0a
parente1c074eae946e73d5cd08a1a2c4173e318297a9b
SCRIPTS: improve announce-release to support different tag and versions

By having three variables it will be easier to preset the version and
the tag separately. One contains the announced version, another one the
associated tag and the last one the final commit ID (used as the ending
point before the release). This initially allows to check for the HEAD
matching the tag only when the version was not forced, hence re-announce
already tagged versions after some extra commits were added for example.

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