We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c978af7 commit f6cbffcCopy full SHA for f6cbffc
setup.py
@@ -30,7 +30,7 @@
30
31
32
RETHINKDB_VERSION_DESCRIBE = os.environ.get("RETHINKDB_VERSION_DESCRIBE")
33
-VERSION_RE = r"(?P<major>[0-9]+)\.(?P<minor>[0-9]+)\.(?P<patch>[0-9]+)(?P<pre_release>:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?P<meta>:\+[0-9A-Za-z-]+)?"
+VERSION_RE = r"(?P<major>0|[1-9]\d*)\.(?P<minor>0|[1-9]\d*)\.(?P<patch>0|[1-9]\d*)\.(?P<post>post[1-9]\d*)"
34
35
with open("rethinkdb/version.py", "r") as f:
36
version_parts = re.search(VERSION_RE, f.read()).groups()
0 commit comments