Update the release process for community release to include release candidate versioning (#1802)

This commit is contained in:
maniarathi
2020-08-31 16:16:21 -07:00
committed by GitHub
parent f8cdb12892
commit ed865e9a57
6 changed files with 125 additions and 81 deletions
+14
View File
@@ -1,5 +1,19 @@
[bumpversion]
current_version = 0.16.0
commit = True
# The below regex details an acceptable version number by naming the groups (major, minor, patch, prerel, and
# prerelversion) and also specifying the valid values for each group (integers, `\d+`, for major, minor, patch, and
# prerelversion and only `rc` as the acceptable value for prerel).
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(?:-(?P<prerel>rc)\.(?P<prerelversion>\d+))?
serialize =
{major}.{minor}.{patch}-{prerel}.{prerelversion}
{major}.{minor}.{patch}
[bumpversion:part:prerel]
optional_value = release
values =
rc
release
[bumpversion:file:setup.py]
search = version="{current_version}"