mirror of https://github.com/docker/docker-py.git
Fix versions script to accept versions without -ce suffix
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
302cb78f87
commit
f7a1052b2b
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue