diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 075b57d..271e2c5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,8 +27,8 @@ jobs: goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} project_path: "./cmd/" - binary_name: "ngxctl-${{ env.APP_VERSION }}-${{ matrix.goos }}-${{ matrix.goarch }}" - ldflags: "-s -X main.buildTime=${{env.BUILD_TIME}} -X main.versionHash=${{github.sha}} -X main.version=${{env.APP_VERSION}}" + binary_name: "ngonxctl-${{ env.APP_VERSION }}-${{ matrix.goos }}-${{ matrix.goarch }}" + ldflags: "-s -X github.com/kenriortega/ngonx/cmd/cli.buildTime=${{env.BUILD_TIME}} -X github.com/kenriortega/ngonx/cmd/cli.versionHash=${{github.sha}} -X github.com/kenriortega/ngonx/cmd/cli.version=${{env.APP_VERSION}}" releases-matrix-arm: name: Release Go Binary @@ -52,5 +52,5 @@ jobs: goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} project_path: "./cmd/" - binary_name: "ngxctl-${{ env.APP_VERSION }}-${{ matrix.goos }}-${{ matrix.goarch }}" - ldflags: "-s -X main.buildTime=${{env.BUILD_TIME}} -X main.versionHash=${{github.sha}} -X main.version=${{env.APP_VERSION}}" + binary_name: "ngonxctl-${{ env.APP_VERSION }}-${{ matrix.goos }}-${{ matrix.goarch }}" + ldflags: "-s -X github.com/kenriortega/ngonx/cmd/cli.buildTime=${{env.BUILD_TIME}} -X github.com/kenriortega/ngonx/cmd/cli.versionHash=${{github.sha}} -X github.com/kenriortega/ngonx/cmd/cli.version=${{env.APP_VERSION}}"