mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +00:00
Merge pull request #90779 from thockin/umask-for-builds
Set umask 0022 when building
This commit is contained in:
commit
eec809aa93
@ -523,6 +523,10 @@ kube::golang::setup_env() {
|
||||
|
||||
# This seems to matter to some tools
|
||||
export GO15VENDOREXPERIMENT=1
|
||||
|
||||
# This is for sanity. Without it, user umasks leak through into release
|
||||
# artifacts.
|
||||
umask 0022
|
||||
}
|
||||
|
||||
# This will take binaries from $GOPATH/bin and copy them to the appropriate
|
||||
|
Loading…
Reference in New Issue
Block a user