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 }}