Last active
November 14, 2021 01:52
-
-
Save tribal2/0ae4016d460819906107c6120e283f74 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[bumpversion] | |
current_version = 1.0.0 | |
parse = (?P<major>\d+)(\.(?P<minor>\d+))(\.(?P<patch>\d+))(\.(?P<release>.*))? | |
serialize = | |
{major}.{minor}.{patch}-{release} | |
{major}.{minor}.{patch} | |
[bumpversion:part:release] | |
optional_value = gamma | |
values = | |
alpha | |
beta | |
gamma | |
[bumpversion:file:package.json] | |
[bumpversion:file:package-lock.json] | |
search = "version": "{current_version}", | |
replace = "version": "{new_version}", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment