mirror of
https://github.com/prometheus/alertmanager
synced 2025-02-27 08:10:58 +00:00
Remove -u
from go get
for errcheck
Without the `-u`, it will load what's required in the `go.mod` file. But with the `-u`, it will load new stuff once it's available, which makes the build non-reproducible. (Without any change in the `errcheck` repo, other things will happen.) Signed-off-by: beorn7 <beorn@soundcloud.com>
This commit is contained in:
parent
46b61a38cd
commit
15ed7be846
2
Makefile
2
Makefile
@ -69,5 +69,5 @@ $(ERRCHECK_BINARY):
|
|||||||
mkdir -p $${tmpModule}/staticcheck && \
|
mkdir -p $${tmpModule}/staticcheck && \
|
||||||
cd "$${tmpModule}"/staticcheck && \
|
cd "$${tmpModule}"/staticcheck && \
|
||||||
GO111MODULE=on $(GO) mod init example.com/staticcheck && \
|
GO111MODULE=on $(GO) mod init example.com/staticcheck && \
|
||||||
GO111MODULE=on GOOS= GOARCH= $(GO) get -u github.com/kisielk/errcheck && \
|
GO111MODULE=on GOOS= GOARCH= $(GO) get github.com/kisielk/errcheck && \
|
||||||
rm -rf $${tmpModule};
|
rm -rf $${tmpModule};
|
||||||
|
Loading…
Reference in New Issue
Block a user