Add version info to syncthing build script

This commit is contained in:
Simon Frei 2024-02-07 07:37:26 +01:00
parent 878f31a2aa
commit ef5581c247
1 changed files with 6 additions and 0 deletions

View File

@ -95,6 +95,12 @@ for target in BUILD_TARGETS:
'CGO_ENABLED': '1',
})
subprocess.check_call(
['go', 'version'],
env=environ, cwd=syncthing_dir)
subprocess.check_call(
['go', 'run', 'build.go', 'version'],
env=environ, cwd=syncthing_dir)
cc = os.path.join(
get_ndk_home(), "toolchains", "llvm", "prebuilt",
PLATFORM_DIRS[platform.system()], "bin",