SCRIPTS: publish-release: update the umask to keep group write access

This is to avoid the occasional error that arises when a release is
first done by another maintainer.

(cherry picked from commit f9b04bd48bb3caa85b975262ce9248d783a33b44)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 42cbb34720185fce85913b1d02ff284bc8006860)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit dd37f733946a7e67198bc631b073f801c2be666f)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
diff --git a/scripts/publish-release b/scripts/publish-release
index 3cf32d8..9066d4a 100755
--- a/scripts/publish-release
+++ b/scripts/publish-release
@@ -22,6 +22,9 @@
 DIR=
 DOC=( )
 
+# need to have group write on emitted files for others to update
+umask 002
+
 die() {
 	[ "$#" -eq 0 ] || echo "$*" >&2
 	exit 1