]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
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 3cf32d80c5772eb36300e04aa6586904dde0edf7..9066d4add79d7cc309ae64cbdfaff48a18de36d5 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