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:
lneto 2024-10-23 11:08:17 +01:00
parent 48f703f990
commit 6ba0c25a92
1 changed files with 1 additions and 1 deletions

View File

@ -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)