summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--branding/templates/windows/sign.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/branding/templates/windows/sign.py b/branding/templates/windows/sign.py
index 5b6b2c6..53b89a8 100644
--- a/branding/templates/windows/sign.py
+++ b/branding/templates/windows/sign.py
@@ -2,8 +2,6 @@
"""
This script is expected to be called from the main makefile, that should pass
the content of the WIN_CERT_PASS variable as the second argument.
-
-Just make sure that $GOPATH is properly configured.
"""
import subprocess
import os
@@ -13,10 +11,8 @@ WIN_CERT_PATH = sys.argv[1]
WIN_CERT_PASS = sys.argv[2]
SIGNTOOL = "signtool"
-GOPATH = os.environ.get('GOPATH')
VERSION = subprocess.run(
- 'git -C ' + GOPATH +
- '\\src\\0xacab.org\\leap\\bitmask-vpn describe --tags',
+ 'git describe --tags',
stdout=subprocess.PIPE).stdout.strip()
installer = "RiseupVPN-" + str(VERSION, 'utf-8') + '.exe'