Use deterministic path for repo checkout

parent f8ab5340
Pipeline #2983 passed with stages
in 8 minutes and 56 seconds
...@@ -7,8 +7,9 @@ from utils import get_build_versions, ex, get_sha256, fail, zip_files, get_final ...@@ -7,8 +7,9 @@ from utils import get_build_versions, ex, get_sha256, fail, zip_files, get_final
get_sources_file_name, get_pom_file_name, reset_time, get_obfs4_version, check_go_version, \ get_sources_file_name, get_pom_file_name, reset_time, get_obfs4_version, check_go_version, \
get_version, GO_PATH, GO_ROOT, NDK_DIR get_version, GO_PATH, GO_ROOT, NDK_DIR
REPO_DIR = './obfs4' REPO_DIR = '/tmp/obfs4'
GO_FLAGS = ['-asmflags', '-trimpath', '-o', '../obfs4proxy'] OUTPUT = os.path.abspath(os.path.join(os.path.curdir, 'obfs4proxy'))
GO_FLAGS = ['-asmflags', '-trimpath', '-o', OUTPUT]
def main(): def main():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment