[cli-release.yml] Pass release version in build flag

This commit is contained in:
Neeraj Gupta 2024-03-13 11:42:03 +05:30 committed by Neeraj Gupta
parent e42422407c
commit 077ba04664

View file

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