diff options
| author | Joffrey F <joffrey@docker.com> | 2018-11-08 18:58:06 -0800 |
|---|---|---|
| committer | Joffrey F <joffrey@docker.com> | 2018-11-28 11:56:28 -0800 |
| commit | cafb802c51e0c0b8ff58cb749fa30b99cd7182b4 (patch) | |
| tree | 9ad28b456e218d70db2ac85d048966171a4a9aac | |
| parent | e6889eb9d652a03af555a4f9dbd17f27fdd1116b (diff) | |
| download | docker-py-cafb802c51e0c0b8ff58cb749fa30b99cd7182b4.tar.gz | |
Fix versions script to accept versions without -ce suffix
Signed-off-by: Joffrey F <joffrey@docker.com>
| -rw-r--r-- | scripts/versions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/versions.py b/scripts/versions.py index 7212195..7ad1d56 100644 --- a/scripts/versions.py +++ b/scripts/versions.py @@ -66,7 +66,7 @@ def main(): Version.parse( v.strip('"').lstrip('docker-').rstrip('.tgz').rstrip('-x86_64') ) 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( |
