autodist-git: exclude more binary suffixes from git repositories
This commit is contained in:
parent
23fd85f414
commit
78ca53dba2
@ -112,8 +112,8 @@ def commitReleaseFromDir(options, pkg_info, gitea_repo, repo, temp_dir):
|
||||
stdout=subprocess.PIPE, check=False)
|
||||
# Delete binary source archives
|
||||
for pattern in [
|
||||
'*.zip','*.tar.bz2','*.tar.xz','*.tar.gz','*.tgz','*.txz','*.iso',
|
||||
'*.run','*.dll','*.bin','*.jar','*.msi','*.deb']:
|
||||
'*.zip','*.tar.bz2','*.tar.xz','*.tar.gz','*.tar.lz','*.tgz','*.txz',
|
||||
'*.iso','*.run','*.dll','*.bin','*.jar','*.msi','*.deb','*.rpm']:
|
||||
for filename in glob.glob(f'{src_dir}/{pattern}'):
|
||||
os.remove(filename)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user