From 67bd78f2e626602d8392482250d4328eb3b1b3a6 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 23 Oct 2023 08:21:22 +0200 Subject: All: Make it easier to update the version --- cmd/cli/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd') 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 { -- cgit v1.2.3