mirror of
https://abf.rosa.ru/djam/abf-console-client-src.git
synced 2025-02-24 02:12:49 +00:00
recognize gem files when processing .abf.yml
This commit is contained in:
parent
a237fbf93a
commit
3954001cf3
1 changed files with 1 additions and 1 deletions
|
@ -554,7 +554,7 @@ def upload_files(models, min_size, path=None, remove_files=True, upload_all=Fals
|
|||
if src not in yaml_files or sha_hash != yaml_files[src]:
|
||||
log.debug(_('Hash for file %s has been updated') % src)
|
||||
# try to remove previous versions
|
||||
re_src = re.compile('^([\w\d\-\.]+)-([\d\.]+)\.(tar\.gz|tar.xz|tgz|zip|tar\.bz2)$')
|
||||
re_src = re.compile('^([\w\d\-\.]+)-([\d\.]+)\.(tar\.gz|tar.xz|gem|tgz|zip|tar\.bz2)$')
|
||||
res = re_src.match(src)
|
||||
if res:
|
||||
src_gr = res.groups()
|
||||
|
|
Loading…
Add table
Reference in a new issue