mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +00:00
👌 Build: Tranform all python3 versions
This commit is contained in:
@@ -798,8 +798,8 @@ def create_tarball(tarball_name):
|
||||
excludes_list = [ '--exclude=%s' % pattern for pattern in ignored_patterns ]
|
||||
excludes = ' '.join(excludes_list)
|
||||
|
||||
# tar will copy the content the directory python3.[7-9]/ to python3.6/
|
||||
transform = '--transform=\'s,python3.[7-9]/,python3/,\''
|
||||
# tar will copy the content the directory python3.[0-9]+/ to python3/
|
||||
transform = '--transform=\'s,python3\.[0-9]\+/,python3/,\''
|
||||
|
||||
tar_cmd = 'tar czf %(tarball_name)s %(transform)s %(versioned_serverdir)s %(excludes)s' \
|
||||
% dict(tarball_name=tarball_name,
|
||||
|
Reference in New Issue
Block a user