Skip to content

Commit

Permalink
TUN-8694: Fix github release script
Browse files Browse the repository at this point in the history
Remove parameter from extractall function since it does not exist in python 3.7
  • Loading branch information
lneto committed Oct 23, 2024
1 parent 48f703f commit 6ba0c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def assert_asset_version(binary_path, release_version):
binary_version = get_binary_version(binary_path)
elif ext == '.tgz':
tar = tarfile.open(binary_path, "r:gz")
tar.extractall("tmp", filter='data')
tar.extractall("tmp")
tar.close()
binary_path = os.path.join(os.getcwd(), 'tmp', 'cloudflared')
binary_version = get_binary_version(binary_path)
Expand Down

0 comments on commit 6ba0c25

Please sign in to comment.