From f092d817c904e5ad1938119e67a74b1b5a60befa Mon Sep 17 00:00:00 2001 From: mleku Date: Sat, 1 Nov 2025 13:41:36 +0000 Subject: [PATCH] Update Go build flags and bump version to v0.21.4 - Modified the Go build command in the GitHub Actions workflow to include linker flags for reduced binary size. - Updated version from v0.21.3 to v0.21.4 to reflect the latest changes. --- .github/workflows/go.yml | 2 +- pkg/version/version | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 9ec48b8..450f791 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -75,7 +75,7 @@ jobs: mkdir -p release-binaries # Build for different platforms - GOEXPERIMENT=greenteagc,jsonv2 GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -o release-binaries/orly-${VERSION}-linux-amd64 . + GOEXPERIMENT=greenteagc,jsonv2 GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -ldflags "-s -w" -o release-binaries/orly-${VERSION}-linux-amd64 . # GOEXPERIMENT=greenteagc,jsonv2 GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o release-binaries/orly-${VERSION}-linux-arm64 . # GOEXPERIMENT=greenteagc,jsonv2 GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -o release-binaries/orly-${VERSION}-darwin-amd64 . # GOEXPERIMENT=greenteagc,jsonv2 GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 go build -o release-binaries/orly-${VERSION}-darwin-arm64 . diff --git a/pkg/version/version b/pkg/version/version index 6d3004d..a1849d2 100644 --- a/pkg/version/version +++ b/pkg/version/version @@ -1 +1 @@ -v0.21.3 \ No newline at end of file +v0.21.4 \ No newline at end of file