mirror of
https://github.com/rclone/rclone.git
synced 2025-01-24 12:56:36 +02:00
build: add -trimpath to release build for reproduceable builds
This commit is contained in:
parent
77fb3c2511
commit
ba7f7c8319
@ -182,6 +182,7 @@ func compileArch(version, goos, goarch, dir string) bool {
|
||||
args := []string{
|
||||
"go", "build",
|
||||
"--ldflags", "-s -X github.com/rclone/rclone/fs.Version=" + version,
|
||||
"-trimpath",
|
||||
"-i",
|
||||
"-o", output,
|
||||
"-tags", *tags,
|
||||
|
Loading…
x
Reference in New Issue
Block a user