TUN-8694: Fix github release script
Remove parameter from extractall function since it does not exist in python 3.7
This commit is contained in:
parent
48f703f990
commit
6ba0c25a92
|
@ -254,7 +254,7 @@ def assert_asset_version(binary_path, release_version):
|
||||||
binary_version = get_binary_version(binary_path)
|
binary_version = get_binary_version(binary_path)
|
||||||
elif ext == '.tgz':
|
elif ext == '.tgz':
|
||||||
tar = tarfile.open(binary_path, "r:gz")
|
tar = tarfile.open(binary_path, "r:gz")
|
||||||
tar.extractall("tmp", filter='data')
|
tar.extractall("tmp")
|
||||||
tar.close()
|
tar.close()
|
||||||
binary_path = os.path.join(os.getcwd(), 'tmp', 'cloudflared')
|
binary_path = os.path.join(os.getcwd(), 'tmp', 'cloudflared')
|
||||||
binary_version = get_binary_version(binary_path)
|
binary_version = get_binary_version(binary_path)
|
||||||
|
|
Loading…
Reference in New Issue