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)
|
stdout=subprocess.PIPE, check=False)
|
||||||
# Delete binary source archives
|
# Delete binary source archives
|
||||||
for pattern in [
|
for pattern in [
|
||||||
'*.zip','*.tar.bz2','*.tar.xz','*.tar.gz','*.tgz','*.txz','*.iso',
|
'*.zip','*.tar.bz2','*.tar.xz','*.tar.gz','*.tar.lz','*.tgz','*.txz',
|
||||||
'*.run','*.dll','*.bin','*.jar','*.msi','*.deb']:
|
'*.iso','*.run','*.dll','*.bin','*.jar','*.msi','*.deb','*.rpm']:
|
||||||
for filename in glob.glob(f'{src_dir}/{pattern}'):
|
for filename in glob.glob(f'{src_dir}/{pattern}'):
|
||||||
os.remove(filename)
|
os.remove(filename)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user