Skip to content

Commit

Permalink
Bump version v0.5.1 -> v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Mar 21, 2021
1 parent d914fc1 commit bed9618
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 24 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.5.1
current_version = 0.6.0
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 @@ -91,7 +91,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.5.1
.. |commits-since| image:: https://img.shields.io/github/commits-since/repo-helper/repo_helper_github/v0.6.0
: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-2021 Dominic Davis-Foster <dominic@davis-foster.co.uk>
"""

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

.. |commits-since| github-shield::
:commits-since: v0.5.1
:commits-since: v0.6.0
:alt: GitHub commits since tagged version

.. |commits-latest| github-shield::
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "repo_helper_github"
version = "0.5.1"
version = "0.6.0"
description = "Manage GitHub repositories with repo-helper."
readme = "README.rst"
keywords = [ "github", "repo-helper",]
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: 'dominic@davis-foster.co.uk'
username: 'repo-helper'
assignee: 'domdfcoding'
version: '0.5.1'
version: '0.6.0'
license: 'MIT'
short_desc: "Manage GitHub repositories with repo-helper."

Expand Down
36 changes: 18 additions & 18 deletions repo_helper_github/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
__author__: str = "Dominic Davis-Foster"
__copyright__: str = "2020-2021 Dominic Davis-Foster"
__license__: str = "MIT License"
__version__: str = "0.5.1"
__version__: str = "0.6.0"
__email__: str = "dominic@davis-foster.co.uk"

__all__ = [
Expand All @@ -76,7 +76,7 @@
]

echo_rate_limit = deprecated(
deprecated_in="0.5.1",
deprecated_in="0.6.0",
removed_in="1.0.0",
current_version=__version__,
details="Use the new 'github3-utils' package instead."
Expand All @@ -85,7 +85,7 @@
)

get_user = deprecated(
deprecated_in="0.5.2",
deprecated_in="0.6.0",
removed_in="1.0.0",
current_version=__version__,
details="Use the new 'github3-utils' package instead."
Expand All @@ -109,7 +109,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.5.1 Added the ``verbose`` and ``colour`` options.
.. versionchanged:: 0.6.0 Added the ``verbose`` and ``colour`` options.
""" # noqa: D400

#:
Expand All @@ -119,14 +119,14 @@ class GitHubManager(RepoHelper):
"""
Whether to show information on the GitHub API rate limit.
.. versionadded: 0.5.1
.. versionadded: 0.6.0
"""

colour: ColourTrilean
"""
Whether to use coloured output.
.. versionadded: 0.5.1
.. versionadded: 0.6.0
"""

def __init__(
Expand Down Expand Up @@ -159,11 +159,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.5.1
.. versionchanged:: 0.6.0
Removed the ``verbose`` option. Provide it to the class constructor instead.
.. versionchanged:: 0.5.1 Added the ``org`` argument.
.. versionchanged:: 0.6.0 Added the ``org`` argument.
"""

with self.echo_rate_limit():
Expand Down Expand Up @@ -204,11 +204,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.5.1
.. versionchanged:: 0.6.0
Removed the ``verbose`` option. Provide it to the class constructor instead.
.. versionchanged:: 0.5.1 Added the ``org`` argument.
.. versionchanged:: 0.6.0 Added the ``org`` argument.
"""

with self.echo_rate_limit():
Expand Down Expand Up @@ -242,7 +242,7 @@ def get_org_or_user(self, org: bool = False) -> Union[orgs.Organization, users.U
:param org:
.. versionadded:: 0.5.1
.. versionadded:: 0.6.0
""" # noqa: D400

user = _utils_get_user(self.github)
Expand Down Expand Up @@ -271,8 +271,8 @@ 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.5.1
.. versionchanged:: 0.5.1 Add ``overwrite``, ``PYPI_TOKEN``, ``ANACONDA_TOKEN`` options.
.. versionadded:: 0.6.0
.. versionchanged:: 0.6.0 Add ``overwrite``, ``PYPI_TOKEN``, ``ANACONDA_TOKEN`` options.
"""

with self.echo_rate_limit():
Expand Down Expand Up @@ -345,7 +345,7 @@ def protect_branch(self, branch: str, org: bool = False) -> int:
:raises: :exc:`github3.exceptions.NotFoundError` if the branch is not found.
.. versionadded:: 0.5.1
.. versionadded:: 0.6.0
"""

with self.echo_rate_limit():
Expand Down Expand Up @@ -445,7 +445,7 @@ def create_labels(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).
.. versionadded:: 0.5.1
.. versionadded:: 0.6.0
"""

with self.echo_rate_limit():
Expand All @@ -471,7 +471,7 @@ def create_labels(self, org: bool = False) -> int:


encrypt_secret = deprecated(
deprecated_in="0.5.1",
deprecated_in="0.6.0",
removed_in="1.0.0",
current_version=__version__,
details="Use the new 'github3-utils' package instead."
Expand All @@ -491,7 +491,7 @@ def compile_required_checks(repo: RepoHelper) -> Iterator[str]:
:param repo:
.. versionadded:: 0.5.1
.. versionadded:: 0.6.0
"""

actions_manager = ActionsManager(repo.target_repo, repo.templates)
Expand Down Expand Up @@ -540,7 +540,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.5.1
.. versionadded:: 0.6.0
""" # noqa: D400

def __init__(
Expand Down

0 comments on commit bed9618

Please sign in to comment.