[cli-release.yml] Pass release version in build flag
This commit is contained in:
parent
e42422407c
commit
077ba04664
1 changed files with 1 additions and 1 deletions
2
.github/workflows/cli-release.yml
vendored
2
.github/workflows/cli-release.yml
vendored
|
@ -49,6 +49,6 @@ jobs:
|
|||
project_path: "./cli"
|
||||
pre_command: export CGO_ENABLED=0
|
||||
build_flags: "-trimpath"
|
||||
ldflags: "-s -w"
|
||||
ldflags: "-X main.AppVersion=${{ github.ref_name }} -s -w"
|
||||
md5sum: false
|
||||
sha256sum: true
|
||||
|
|
Loading…
Add table
Reference in a new issue