Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

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

Neeraj Gupta077ba04664d2
diff --git a/.github/workflows/cli-release.yml b/.github/workflows/cli-release.yml
index 1efa805d44..e1793fa8df 100644
--- a/.github/workflows/cli-release.yml
+++ b/.github/workflows/cli-release.yml
@@ -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