Fix versions script to accept versions without -ce suffix

Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
Joffrey F 2018-11-08 18:58:06 -08:00
parent 302cb78f87
commit f7a1052b2b
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ def main():
Version.parse( Version.parse(
v.strip('"').lstrip('docker-').rstrip('.tgz').rstrip('-x86_64') v.strip('"').lstrip('docker-').rstrip('.tgz').rstrip('-x86_64')
) for v in re.findall( ) for v in re.findall(
r'"docker-[0-9]+\.[0-9]+\.[0-9]+-.*tgz"', content r'"docker-[0-9]+\.[0-9]+\.[0-9]+-?.*tgz"', content
) )
] ]
sorted_versions = sorted( sorted_versions = sorted(