diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2019-12-17 17:17:40 +0100 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2019-12-17 17:17:40 +0100 |
commit | dc57e1769db9a68c1f8258a7384fd411a8c9d18c (patch) | |
tree | 29a073ba0ec929254ed1162af7237b01a16d94e9 | |
parent | 9a7df86b69fb6c0287ec4c94a7b4e4b42d34177a (diff) |
[pkg] modify windows git path in signing script
-rw-r--r-- | branding/templates/windows/sign.py | 6 |
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' |