Skip to content

Commit 3431a1b

Browse files
authored
Merge pull request #480 from requests/release-1.3.1
Release 1.3.1
2 parents a9fb776 + bcbb876 commit 3431a1b

File tree

3 files changed

+30
-10
lines changed

3 files changed

+30
-10
lines changed

docs/conf.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
master_doc = "index"
4242

4343
# General information about the project.
44-
project = u"Requests-OAuthlib"
45-
copyright = u"2014, Kenneth Reitz"
44+
project = "Requests-OAuthlib"
45+
copyright = "2014, Kenneth Reitz"
4646

4747
# The version info for the project you're documenting, acts as replacement for
4848
# |version| and |release|, also used in various other places throughout the
@@ -188,8 +188,8 @@
188188
(
189189
"index",
190190
"Requests-OAuthlib.tex",
191-
u"Requests-OAuthlib Documentation",
192-
u"Requests-OAuthlib Contributors",
191+
"Requests-OAuthlib Documentation",
192+
"Requests-OAuthlib Contributors",
193193
"manual",
194194
)
195195
]
@@ -223,8 +223,8 @@
223223
(
224224
"index",
225225
"requests-oauthlib",
226-
u"Requests-OAuthlib Documentation",
227-
[u"Requests-OAuthlib Contributors"],
226+
"Requests-OAuthlib Documentation",
227+
["Requests-OAuthlib Contributors"],
228228
1,
229229
)
230230
]
@@ -242,8 +242,8 @@
242242
(
243243
"index",
244244
"Requests-OAuthlib",
245-
u"Requests-OAuthlib Documentation",
246-
u"Requests-OAuthlib Contributors",
245+
"Requests-OAuthlib Documentation",
246+
"Requests-OAuthlib Contributors",
247247
"Requests-OAuthlib",
248248
"One line description of project.",
249249
"Miscellaneous",

docs/contributing.rst

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,27 @@ In order to run successfully, you will need all versions of Python installed. We
4848
$ pyenv install pypy2.7-7.1.1
4949
$ pyenv install pypy3.6-7.1.1
5050

51+
52+
Publishing a release (for maintainer role)
53+
==========================================
54+
55+
Maintainer tasks should always be kept to minimum. Once a release is ready, the suggested approach can be followed:
56+
57+
#. Create new branch release-X.Y.Z
58+
#. Update the HISTORY.rst file
59+
#. Update the `request_oauthlib/__init__.py`
60+
#. Raise a pull request to give a chance for all contributors to comment before publishing
61+
#. Create a TAG vX.Y.Z. By doing this, the pipeline will automatically trigger `twine` and will publish the release to PyPi.
62+
63+
Once verified, complete by doing the following:
64+
65+
#. Create a GitHub release vX.Y.Z in the Releases tab.
66+
#. Activate the vX.Y.Z version in the documentation (`ReadTheDocs`_)
67+
#. Merge the PR into master branch.
68+
69+
That's all.
70+
5171
.. _`tox`: https://tox.readthedocs.io/en/latest/install.html
5272
.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/installation/
5373
.. _`pyenv`: https://github.com/pyenv/pyenv
54-
74+
.. _`ReadTheDocs`: https://readthedocs.org/projects/requests-oauthlib/versions/

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ commands=
3636
[testenv:black]
3737
basepython=python3.7
3838
deps=black
39-
commands=black --check .
39+
commands=black --check --diff .

0 commit comments

Comments
 (0)