From 72a2604b34507c2ecc218ad97ebd1f2aef1f43c0 Mon Sep 17 00:00:00 2001 From: Wilken Rivera Date: Thu, 11 Apr 2024 10:25:49 -0400 Subject: [PATCH] Add LICENSE to zipped Go binaries --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4f3bedfa6..a47a872ec 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: