Pull request: all: improve build reproducibility
Updates #2959. Squashed commit of the following: commit 2178c73835454b75b6b0790322df3975e1d14f10 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri Apr 30 19:34:39 2021 +0300 all: improve build reproducibility
This commit is contained in:
@@ -65,7 +65,7 @@ Optional environment:
|
||||
verbosity level `2` in `go-build.sh`, set this to `3` when calling
|
||||
`build-release.sh`.
|
||||
* `VERSION`: release version. Will be set by `version.sh` if it is unset or
|
||||
it has the default `Makefile` value of `v0.0.0`.
|
||||
if it has the default `Makefile` value of `v0.0.0`.
|
||||
|
||||
### `clean.sh`: Cleanup
|
||||
|
||||
@@ -78,6 +78,8 @@ Required environment:
|
||||
### `go-build.sh`: Build The Backend
|
||||
|
||||
Optional environment:
|
||||
* `BUILD_TIME`: If set, overrides the build time information. Useful for
|
||||
reproducible builds.
|
||||
* `GOARM`: ARM processor options for the Go compiler.
|
||||
* `GOMIPS`: ARM processor options for the Go compiler.
|
||||
* `GO`: set an alternarive name for the Go compiler.
|
||||
|
||||
Reference in New Issue
Block a user