Skip to content
Snippets Groups Projects
Unverified Commit dc57e176 authored by Kali Kaneko's avatar Kali Kaneko
Browse files

[pkg] modify windows git path in signing script

parent 9a7df86b
No related branches found
No related tags found
No related merge requests found
Pipeline #31912 passed
......@@ -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'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment