summaryrefslogtreecommitdiff
path: root/cmd/cli/main.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-10-23 08:21:22 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2023-10-23 08:30:15 +0200
commit67bd78f2e626602d8392482250d4328eb3b1b3a6 (patch)
treef816ec7486b404749f0d343895bd7333490d5279 /cmd/cli/main.go
parent3e8e89dd25fefcea14e3b7f3665fd99d401f9cb0 (diff)
All: Make it easier to update the version
Diffstat (limited to 'cmd/cli/main.go')
-rw-r--r--cmd/cli/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/cli/main.go b/cmd/cli/main.go
index 02c8a7b..6945128 100644
--- a/cmd/cli/main.go
+++ b/cmd/cli/main.go
@@ -10,6 +10,7 @@ import (
"github.com/eduvpn/eduvpn-common/client"
"github.com/eduvpn/eduvpn-common/internal/oauth"
"github.com/eduvpn/eduvpn-common/internal/server"
+ "github.com/eduvpn/eduvpn-common/internal/version"
"github.com/go-errors/errors"
)
@@ -124,7 +125,7 @@ func printConfig(url string, srvType ServerTypes) {
err := c.Register(
"org.eduvpn.app.linux",
- "1.1.2-cli",
+ fmt.Sprintf("%s-cli", version.Version),
"configs",
"en",
func(old client.FSMStateID, new client.FSMStateID, data interface{}) bool {