Skip to content

Commit

Permalink
update bumpversion setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Licini committed May 4, 2021
1 parent 3c90a0b commit ba52c48
Show file tree
Hide file tree
Showing 3 changed files with 2,017 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,28 @@ current_version = 0.4.2
message = Bump version to {new_version}
commit = True
tag = True
parse = ^
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
(?:
(?P<release>rc)
(?:(?P<rc>\d+(?:\.\d+)*))?
)?
serialize =
{major}.{minor}.{patch}{release}{rc}
{major}.{minor}.{patch}

[bumpversion:part:release]
optional_value = final
values =
rc
final


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

[bumpversion:file:docsource/conf.py]
[bumpversion:file:docs/conf.py]
search = release = '{current_version}'
replace = release = '{new_version}'

Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ prune docsource
prune examples
prune temp
prune tests
prune scripts
prune ui
prune src/compas_3gs/web

Expand Down
Loading

0 comments on commit ba52c48

Please sign in to comment.