Kaydet (Commit) f7a1052b authored tarafından Joffrey F's avatar Joffrey F

Fix versions script to accept versions without -ce suffix

Signed-off-by: 's avatarJoffrey F <joffrey@docker.com>
üst 302cb78f
...@@ -66,7 +66,7 @@ def main(): ...@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment