Release CI: build the binaries with -trimpath

This commit is contained in:
David Robertson 2023-10-11 15:36:48 +01:00
parent 263770e173
commit 2b0f63d784
No known key found for this signature in database
GPG Key ID: 903ECE108A39DEDD

View File

@ -17,7 +17,7 @@ jobs:
with:
go-version: "1.20"
- run: mkdir build
- run: go build -o build/syncv3_${{ matrix.os }}_${{ matrix.arch }} ./cmd/syncv3
- run: go build -trimpath -o build/syncv3_${{ matrix.os }}_${{ matrix.arch }} ./cmd/syncv3
env:
GOOS: ${{ matrix.os }}
GOARCH: ${{ matrix.arch }}