Skip to content

Commit

Permalink
Merge pull request #19 from kenriortega/development
Browse files Browse the repository at this point in the history
ci: change name and ldflag package for build binary
  • Loading branch information
kenriortega authored Sep 1, 2021
2 parents 3269f83 + cf42a9d commit 7188f7c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}}"

0 comments on commit 7188f7c

Please sign in to comment.