SCRIPTS: publish-release: update the umask to keep group write access
authorWilly Tarreau <w@1wt.eu>
Wed, 24 May 2023 20:48:14 +0000 (22:48 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 24 May 2023 20:49:12 +0000 (22:49 +0200)
This is to avoid the occasional error that arises when a release is
first done by another maintainer.

scripts/publish-release

index 3cf32d8..9066d4a 100755 (executable)
@@ -22,6 +22,9 @@ NEW=
 DIR=
 DOC=( )
 
+# need to have group write on emitted files for others to update
+umask 002
+
 die() {
        [ "$#" -eq 0 ] || echo "$*" >&2
        exit 1