From 78ca53dba26edcf52fa1034c94d2d16498661b50 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 5 Jan 2025 18:32:39 +0100 Subject: [PATCH] autodist-git: exclude more binary suffixes from git repositories --- autodist-git | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autodist-git b/autodist-git index bf0221b..24c5bc2 100755 --- a/autodist-git +++ b/autodist-git @@ -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)