From ec3f27147f2f72cebedf12ae0cc40277b78e998e Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" <kali@leap.se> Date: Wed, 12 Apr 2023 16:15:37 +0200 Subject: [PATCH] [bug] do not declare VERSION twice reverting a recent change that breaks `generate` step in build. -Closes: #727 --- pkg/config/version/checknewer.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/config/version/checknewer.go b/pkg/config/version/checknewer.go index 83e82a12..1f855d1b 100644 --- a/pkg/config/version/checknewer.go +++ b/pkg/config/version/checknewer.go @@ -11,9 +11,7 @@ import ( const verURI = "https://downloads.leap.se/RiseupVPN/" -var VERSION string - -// returns true if there's a newer version string published on the server +// CanUpgrade returns true if there's a newer version string published on the server // this needs to manually bump latest version for every platform in the // downloads server. // at the moment, we hardcode RiseupVPN in the path, assuming that all clients -- GitLab