From 9ef73a5f833f068e56b3ed594b6638571ca66e6a Mon Sep 17 00:00:00 2001 From: cetteup Date: Tue, 26 Dec 2023 21:28:43 +0100 Subject: [PATCH] ci: Remove symbol and debug info from release binaries --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f40c588..3112e2d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -44,5 +44,5 @@ jobs: goarch: ${{ matrix.goarch }} goversion: go.mod project_path: cmd/update-plex-ipv6-access-url - ldflags: "-X 'main.buildTime=${{ needs.meta.outputs.date }}' -X 'main.buildCommit=${{ github.sha }}' -X 'main.buildVersion=${{ github.ref_name }}'" + ldflags: "-s -w -X 'main.buildTime=${{ needs.meta.outputs.date }}' -X 'main.buildCommit=${{ github.sha }}' -X 'main.buildVersion=${{ github.ref_name }}'" sha256sum: true \ No newline at end of file