Skip to content

Commit 77f13ad

Browse files
authored
Merge pull request #40 from python-restx/setup-bumpr
Setup bumpr
2 parents d25b19b + 43b2614 commit 77f13ad

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

CONTRIBUTING.rst

+8
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,14 @@ The new releases are pushed on `Pypi.org <https://pypi.org/>`_ automatically
113113
from `GitHub Actions <https://github.com/python-restx/flask-restx/actions?query=workflow%3ARelease>`_ when we add a new tag (unless the
114114
tests are failing).
115115

116+
In order to prepare a new release, you can use `bumpr <https://github.com/noirbizarre/bumpr>`_
117+
which automates a few things.
118+
You first need to install it, then run the ``bumpr`` command. You can then refer
119+
to the `documentation <https://bumpr.readthedocs.io/en/latest/commandline.html>`_
120+
for further details.
121+
For instance, you would run ``bumpr -m`` (replace ``-m`` with ``-p`` or ``-M``
122+
depending the expected version).
123+
116124
Updating Copyright
117125
------------------
118126

bumpr.rc

+1-5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ clean =
99
inv clean
1010
files =
1111
README.rst
12+
package.json
1213

1314
[bump]
1415
unsuffix = true
@@ -17,11 +18,6 @@ unsuffix = true
1718
part = patch
1819
suffix = dev
1920

20-
[changelog]
21-
file = CHANGELOG.rst
22-
bump = {version} ({date:%Y-%m-%d})
23-
prepare = Current
24-
2521
[readthedoc]
2622
id = flask-restx
2723

flask_restx/__about__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# -*- coding: utf-8 -*-
2-
__version__ = '0.0.1.dev0'
2+
__version__ = '0.1.0'
33
__description__ = 'Fully featured framework for fast, easy and documented API development with Flask'

0 commit comments

Comments
 (0)