Skip to content

Commit 9c13803

Browse files
committed
release.sh: build Go in reproducible way
Added -trimpath to remove absolute paths from the binary.
1 parent 9e8cde5 commit 9c13803

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ for i in $SYS; do
216216

217217
green "- Building: $OS $ARCH $ARM"
218218
for bin in loop loopd; do
219-
env CGO_ENABLED=0 GOOS=$OS GOARCH=$ARCH GOARM=$ARM go build -v -ldflags "$COMMITFLAGS" "github.com/lightninglabs/loop/cmd/$bin"
219+
env CGO_ENABLED=0 GOOS=$OS GOARCH=$ARCH GOARM=$ARM go build -v -trimpath -ldflags "$COMMITFLAGS" "github.com/lightninglabs/loop/cmd/$bin"
220220
done
221221
cd ..
222222

0 commit comments

Comments
 (0)