Add LICENSE to zipped Go binaries

sdk_bump
Wilken Rivera 2 years ago
parent f05124e2a4
commit 72a2604b34

@ -121,6 +121,7 @@ jobs:
arch: ${{ matrix.goarch }}
reproducible: report
instructions: |-
cp LICENSE.txt "$TARGET_DIR/"
go build -o "$BIN_PATH" -ldflags="$LD_FLAGS" -trimpath -buildvcs=false
build-linux:
@ -158,6 +159,7 @@ jobs:
arch: ${{ matrix.goarch }}
reproducible: report
instructions: |-
cp LICENSE.txt "$TARGET_DIR/"
go build -o "$BIN_PATH" -ldflags="$LD_FLAGS" -trimpath -buildvcs=false
- name: Linux Packaging
@ -220,6 +222,7 @@ jobs:
arch: ${{ matrix.goarch }}
reproducible: report
instructions: |-
cp LICENSE.txt "$TARGET_DIR/"
go build -o "$BIN_PATH" -ldflags="$LD_FLAGS" -tags netcgo -trimpath -buildvcs=false
build-docker-light:

Loading…
Cancel
Save