pgcli/vpn: add version meta

This commit is contained in:
rkonfj
2024-05-26 17:33:12 +08:00
parent 7043c85d3e
commit 5c03d24521
2 changed files with 14 additions and 7 deletions

View File

@@ -13,7 +13,7 @@ import (
)
var (
Version = "unknown"
Version = "dev"
Commit = "unknown"
)
@@ -33,6 +33,8 @@ func main() {
},
}
vpn.Version = Version
vpn.Commit = Commit
cmd.AddCommand(vpn.Cmd)
cmd.AddCommand(secret.Cmd)
cmd.AddCommand(curve25519.Cmd)