diff options
author | Valery Piashchynski <[email protected]> | 2020-12-26 01:27:29 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-12-26 01:27:29 +0300 |
commit | de4d0b6e66ceda08b0daec18a218c1baa71ebf04 (patch) | |
tree | 7bbef377bc97128fb356cad89bd2b40d43aa67f6 /.github | |
parent | 6fe39bc935ceb847b21c289adaf700035454de6b (diff) |
Add --version flag
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/release.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 97a412fc..fbf9af0c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,8 +55,8 @@ jobs: CGO_ENABLED: 0 LDFLAGS: >- -s - -X github.com/spiral/roadrunner/cmd/main.Version=${{ steps.values.outputs.version }} - -X github.com/spiral/roadrunner/cmd/main.BuildTime=${{ steps.values.outputs.timestamp }} + -X github.com/spiral/roadrunner/cmd/cli.Version=${{ steps.values.outputs.version }} + -X github.com/spiral/roadrunner/cmd/cli.BuildTime=${{ steps.values.outputs.timestamp }} run: | go build -trimpath -ldflags "$LDFLAGS" -o "./${{ steps.values.outputs.binary-name }}" ./cmd/main.go stat "./${{ steps.values.outputs.binary-name }}" |