diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2013-05-26 17:28:11 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2013-05-26 17:28:11 +0000 |
commit | 1c9bc8822d078c323a04cc9b13408a451b8351a4 (patch) | |
tree | 9affb36d93aaf7f97c7bf0eced271fd406372ff5 /scripts/dl_cleanup.py | |
parent | c4d0a493483d62624e82fd7f843d86911f654663 (diff) | |
download | mtk-20170518-1c9bc8822d078c323a04cc9b13408a451b8351a4.zip mtk-20170518-1c9bc8822d078c323a04cc9b13408a451b8351a4.tar.gz mtk-20170518-1c9bc8822d078c323a04cc9b13408a451b8351a4.tar.bz2 |
scripts: dl_cleanup.py: properly detect file names with <date>-<githash> version string
SVN-Revision: 36729
Diffstat (limited to 'scripts/dl_cleanup.py')
-rwxr-xr-x | scripts/dl_cleanup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dl_cleanup.py b/scripts/dl_cleanup.py index e5cd52c..2d6895e 100755 --- a/scripts/dl_cleanup.py +++ b/scripts/dl_cleanup.py @@ -87,9 +87,9 @@ extensions = ( ) versionRegex = ( - (re.compile(r"(.+)[-_]([0-9a-fA-F]{40,40})"), parseVer_GIT), # xxx-GIT_SHASUM (re.compile(r"(.+)[-_](\d+)\.(\d+)\.(\d+)\.(\d+)"), parseVer_1234), # xxx-1.2.3.4 (re.compile(r"(.+)[-_](\d\d\d\d)-?(\d\d)-?(\d\d)"), parseVer_ymd), # xxx-YYYY-MM-DD + (re.compile(r"(.+)[-_]([0-9a-fA-F]{40,40})"), parseVer_GIT), # xxx-GIT_SHASUM (re.compile(r"(.+)[-_](\d+)\.(\d+)\.(\d+)(\w?)"), parseVer_123), # xxx-1.2.3a (re.compile(r"(.+)[-_](\d+)_(\d+)_(\d+)"), parseVer_123), # xxx-1_2_3 (re.compile(r"(.+)[-_](\d+)\.(\d+)(\w?)"), parseVer_12), # xxx-1.2a |