[bumpversion]
current_version = 2.2.0-01
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))?
serialize = 
	{major}.{minor}.{patch}-{release}{build}
	{major}.{minor}.{patch}

[bumpversion:part:release]
optional_value = prod
first_value = dev
values = 
	dev
	beta
	prod

[bumpversion:part:build]

[bumpversion:file:setup.py]
search = version={current_version}
replace = {new_version}

[bumpversion:file:pythainlp/__init__.py]
search = __version__={current_version}
replace = {new_version}

[metadata]
description-file = README.md

[coverage:run]
source = pythainlp

[bumpversion]
current_version = 2.2.0
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))?
serialize = 
	{major}.{minor}.{patch}-{release}{build}
	{major}.{minor}.{patch}

[bumpversion:part:release]
optional_value = prod
first_value = dev
values = 
	dev
	beta
	prod

[bumpversion:part:build]

[bumpversion:file:setup.py]
search = version={current_version}
replace = {new_version}

[bumpversion:file:pythainlp/__init__.py]
search = __version__={current_version}
replace = {new_version}

[metadata]
description-file = README.md

[coverage:run]
source = pythainlp

Revert "Bump version: 2.2.0 → 2.2.0-01"
Revert "Bump version: 2.2.0 → 2.2.0-01"

This reverts commit 3cfae5a7bca2f4432d5072c93a19e022204e4ba3.
