From be19a5efde88a8390ca2493df71aed88bfd8b5b7 Mon Sep 17 00:00:00 2001 From: StarFleetCPTN <2897199+StarFleetCPTN@users.noreply.github.com> Date: Tue, 18 Mar 2025 22:13:47 -0700 Subject: [PATCH] Update go-release.yml --- .github/workflows/go-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go-release.yml b/.github/workflows/go-release.yml index 60aa2c3..3a7fcb0 100644 --- a/.github/workflows/go-release.yml +++ b/.github/workflows/go-release.yml @@ -66,7 +66,7 @@ jobs: mkdir -p dist # Define common ldflags with version information - LDFLAGS="-X github.com/starfleetcptn/gomft/components.AppVersion=$VERSION -X main.Version=$VERSION -X main.BuildTime=$BUILD_TIME -X main.Commit=$COMMIT" + LDFLAGS="-X github.com/starfleetcptn/gomft/components.AppVersion=$VERSION -X main.Version=$VERSION -X main.BuildTime=$BUILD_TIME -X main.Commit=$COMMIT -X github.com/starfleetcptn/gomft/components.BuildTime=$BUILD_TIME -X github.com/starfleetcptn/gomft/components.Commit=$COMMIT" # Linux builds GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags="$LDFLAGS" -o dist/gomft-$VERSION-linux-amd64 . @@ -101,4 +101,4 @@ jobs: generate_release_notes: true draft: false # The following line is not needed as we set permissions at workflow level - # token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + # token: ${{ secrets.GITHUB_TOKEN }}