File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1+ v3.0.5
2+
3+ * fix #292 - match leading 'V' character as well
4+
5+ https://www.python.org/dev/peps/pep-0440/#preceding-v-character
6+
7+ v3.0.4
8+ =======
9+
10+ * rerelease of 3.0.3 after fixing the release process
11+
112v3.0.3 (pulled from pypi due to a packaging issue)
213======
314
Original file line number Diff line number Diff line change 66
77from .utils import trace
88
9- DEFAULT_TAG_REGEX = r"^(?:[\w-]+-)?(?P<version>v ?\d+(?:\.\d+){0,2}[^\+]+)(?:\+.*)?$"
9+ DEFAULT_TAG_REGEX = r"^(?:[\w-]+-)?(?P<version>[vV] ?\d+(?:\.\d+){0,2}[^\+]+)(?:\+.*)?$"
1010DEFAULT_VERSION_SCHEME = "version_scheme"
1111
1212
Original file line number Diff line number Diff line change 99 ("apache-arrow-0.9.0" , "0.9.0" ),
1010 ("arrow-0.9.0" , "0.9.0" ),
1111 ("arrow-0.9.0-rc" , "0.9.0-rc" ),
12+ ("v1.1" , "v1.1" ),
13+ ("V1.1" , "V1.1" ),
1214 ],
1315)
1416def test_tag_regex (tag , expected_version ):
You can’t perform that action at this time.
0 commit comments