Skip to content

Commit

Permalink
Merge pull request #182 from camunda-community-hub/enhancement/bumpve…
Browse files Browse the repository at this point in the history
…rsion

Bump version using bump2version
  • Loading branch information
JonatanMartens authored Jul 2, 2021
2 parents e0e3fe6 + dd8935b commit 46847e1
Show file tree
Hide file tree
Showing 8 changed files with 263 additions and 234 deletions.
23 changes: 23 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[bumpversion]
current_version = 3.0.0rc2
commit = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(?P<rc>.*)
serialize =
{major}.{minor}.{patch}{rc}
{major}.{minor}.{patch}

[bumpversion:part:rc]
optional_value = final
values =
rc1
rc2
rc3
rc4
rc5
final

[bumpversion:file:setup.py]

[bumpversion:file:pyzeebe/__init__.py]

[bumpversion:file:docs/conf.py]
5 changes: 5 additions & 0 deletions .mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ ignore_missing_imports = True
[mypy-zeebe_grpc.gateway_pb2_grpc]
ignore_missing_imports = True

[mypy-requests]
ignore_missing_imports = True

[mypy-aiofiles]
ignore_missing_imports = True
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ sphinx-rtd-theme = "*"
pytest-mock = "*"
pytest-asyncio = "~=0.15.1"
asyncmock = "~=0.4.2"
bump2version = "~=1.0.1"

[packages]
oauthlib = "~=3.1.0"
Expand Down
450 changes: 220 additions & 230 deletions Pipfile.lock

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,16 @@ Please make sure to update tests as appropriate.

We use [SemVer](semver.org) for versioning. For the versions available, see the tags on this repository.

In order to bump the current version run:

```shell
$ bump2version <part>
```

where part is the part that will be bumped (major/minor/patch/rc).

This will bump the version in all relevant files as well as create a git commit.

## License

We use the MIT license, see [LICENSE.md](LICENSE.md) for details
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
author = 'Jonatan Martens'

# The full version, including alpha/beta/rc tags
release = '3.0.0rc1'
release = '3.0.0rc2'

# -- General configuration ---------------------------------------------------

Expand Down Expand Up @@ -59,6 +59,6 @@
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

version = "3.0.0rc1"
version = "3.0.0rc2"

master_doc = 'index'
2 changes: 1 addition & 1 deletion pyzeebe/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "3.0.0rc1"
__version__ = "3.0.0rc2"

from pyzeebe import errors
from pyzeebe.client.client import ZeebeClient
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="pyzeebe",
version="3.0.0rc1",
version="3.0.0rc2",
author="Jonatan Martens",
author_email="[email protected]",
description="Zeebe client api",
Expand Down

0 comments on commit 46847e1

Please sign in to comment.