feat: add version flag to main cmd

This commit is contained in:
Connor Edwards
2025-04-25 19:55:37 +09:00
parent 938e7d05c0
commit e854bbb3e1
3 changed files with 13 additions and 0 deletions
+4
View File
@@ -24,6 +24,8 @@ builds:
goarch:
- amd64
- arm64
ldflags:
- -s -w -X github.com/psviderski/uncloud/internal/version.version={{ .Version }}
- id: uncloudd
main: ./cmd/uncloudd
@@ -35,6 +37,8 @@ builds:
goarch:
- amd64
- arm64
ldflags:
- -s -w -X github.com/psviderski/uncloud/internal/version.version={{ .Version }}
archives:
- id: uncloud