Skip to content

Commit

Permalink
Bump version v0.4.0 -> v0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Dec 28, 2020
1 parent 55ab9e6 commit ff2f5ca
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.4.0
current_version = 0.4.1
commit = True
tag = True

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ repo_helper_github
.. |language| image:: https://img.shields.io/github/languages/top/repo-helper/repo_helper_github
:alt: GitHub top language

.. |commits-since| image:: https://img.shields.io/github/commits-since/repo-helper/repo_helper_github/v0.4.0
.. |commits-since| image:: https://img.shields.io/github/commits-since/repo-helper/repo_helper_github/v0.4.1
:target: https://github.com/repo-helper/repo_helper_github/pulse
:alt: GitHub commits since tagged version

Expand Down
2 changes: 1 addition & 1 deletion __pkginfo__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
2020 Dominic Davis-Foster <[email protected]>
"""

__version__ = "0.4.0"
__version__ = "0.4.1"

repo_root = pathlib.Path(__file__).parent
install_requires = (repo_root / "requirements.txt").read_text(encoding="utf-8").split('\n')
Expand Down
2 changes: 1 addition & 1 deletion doc-source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ repo_helper_github
:alt: GitHub top language

.. |commits-since| github-shield::
:commits-since: v0.4.0
:commits-since: v0.4.1
:alt: GitHub commits since tagged version

.. |commits-latest| github-shield::
Expand Down
2 changes: 1 addition & 1 deletion repo_helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ author: 'Dominic Davis-Foster'
email: '[email protected]'
username: 'repo-helper'
assignee: 'domdfcoding'
version: '0.4.0'
version: '0.4.1'
license: 'MIT'
short_desc: "Manage GitHub repositories with repo-helper."

Expand Down
30 changes: 15 additions & 15 deletions repo_helper_github/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
__author__: str = "Dominic Davis-Foster"
__copyright__: str = "2020 Dominic Davis-Foster"
__license__: str = "MIT License"
__version__: str = "0.4.0"
__version__: str = "0.4.1"
__email__: str = "[email protected]"

__all__ = [
Expand Down Expand Up @@ -119,7 +119,7 @@ class GitHubManager(RepoHelper):
:param verbose: Whether to show information on the GitHub API rate limit.
:param colour: Whether to use coloured output.
.. versionchanged:: 0.4.0
.. versionchanged:: 0.4.1
Added the ``verbose`` and ``colour`` options.
""" # noqa: D400
Expand All @@ -131,14 +131,14 @@ class GitHubManager(RepoHelper):
"""
Whether to show information on the GitHub API rate limit.
.. versionadded: 0.4.0
.. versionadded: 0.4.1
"""

colour: Optional[bool]
"""
Whether to use coloured output.
.. versionadded: 0.4.0
.. versionadded: 0.4.1
"""

def __init__(
Expand Down Expand Up @@ -170,11 +170,11 @@ def new(self, org: bool = False) -> int:
:param org: Whether the repository should be created for the organisation set as ``username``,
or for the authenticated user (default).
.. versionchanged:: 0.4.0
.. versionchanged:: 0.4.1
Removed the ``verbose`` option. Provide it to the class constructor instead.
.. versionchanged:: 0.4.0 Added the ``org`` argument.
.. versionchanged:: 0.4.1 Added the ``org`` argument.
"""

with self.echo_rate_limit():
Expand Down Expand Up @@ -209,11 +209,11 @@ def update(self, org: bool = False) -> int:
:param org: Whether the repository should be created for the organisation set as ``username``,
or for the authenticated user (default).
.. versionchanged:: 0.4.0
.. versionchanged:: 0.4.1
Removed the ``verbose`` option. Provide it to the class constructor instead.
.. versionchanged:: 0.4.0 Added the ``org`` argument.
.. versionchanged:: 0.4.1 Added the ``org`` argument.
"""

with self.echo_rate_limit():
Expand Down Expand Up @@ -241,7 +241,7 @@ def get_org_or_user(self, org: bool = False) -> Union[Organization, Authenticate
:param org:
.. versionadded:: 0.4.0
.. versionadded:: 0.4.1
""" # noqa: D400

user = self.github.get_user()
Expand Down Expand Up @@ -270,9 +270,9 @@ def secrets(
``PYPI_TOKEN`` and ``ANACONDA_TOKEN`` can either be passed as keyword arguments to this function or provided at the interactive prompt.
.. versionadded:: 0.4.0
.. versionadded:: 0.4.1
.. versionchanged:: 0.4.0 Add ``overwrite``, ``PYPI_TOKEN``, ``ANACONDA_TOKEN`` options.
.. versionchanged:: 0.4.1 Add ``overwrite``, ``PYPI_TOKEN``, ``ANACONDA_TOKEN`` options.
"""

with self.echo_rate_limit():
Expand Down Expand Up @@ -343,7 +343,7 @@ def protect_branch(self, branch: str, org: bool = False) -> int:
:param org: Whether the repository should be created for the organisation set as ``username``,
or for the authenticated user (default).
.. versionadded:: 0.4.0
.. versionadded:: 0.4.1
"""

with self.echo_rate_limit():
Expand Down Expand Up @@ -456,7 +456,7 @@ def encrypt_secret(public_key: str, secret_value: str) -> str:
:param public_key:
:param secret_value:
.. versionadded: 0.4.0
.. versionadded: 0.4.1
"""

public_key = public.PublicKey(public_key.encode("utf-8"), encoding.Base64Encoder())
Expand All @@ -471,7 +471,7 @@ def compile_required_checks(repo: RepoHelper) -> Iterator[str]:
:param repo:
.. versionadded:: 0.4.0
.. versionadded:: 0.4.1
"""

actions_manager = ActionsManager(repo.target_repo, repo.templates)
Expand Down Expand Up @@ -520,7 +520,7 @@ class IsolatedGitHubManager(GitHubManager):
:param verbose: Whether to show information on the GitHub API rate limit.
:param colour: Whether to use coloured output.
.. versionadded:: 0.4.0
.. versionadded:: 0.4.1
""" # noqa: D400

def __init__(
Expand Down

0 comments on commit ff2f5ca

Please sign in to comment.