Skip to content

Commit

Permalink
Use use_scm_version to get current version from git tag (#2429)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfdye committed Feb 19, 2023
1 parent 5d1d161 commit 3ea91a3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
11 changes: 11 additions & 0 deletions doc/changes.rst
Expand Up @@ -4,6 +4,17 @@ Change log
Stable versions
~~~~~~~~~~~~~~~

Version 1.58.0 (February 19, 2023)
-----------------------------------

**Bug Fixes & Improvements**

- Add unarchiving support @Tsuesun (#2391)
- Support full GitHub app authentication @dblanchette (#1986)
- Continue the PR #1899 @Felixoid (#2386)
- feat: add allow\_forking to Repository @IbrahimAH (#2380)
- Add code scanning alerts @eric-nieuwland (#2227)

Version 1.57 (November 05, 2022)
-----------------------------------

Expand Down
4 changes: 3 additions & 1 deletion doc/conf.py
Expand Up @@ -35,7 +35,9 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath(".."))
from setup import version as setupVersion # noqa: E402, isort:skip
from importlib.metadata import version # noqa: E402, isort:skip

setupVersion = version("PyGithub")

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

Expand Down
6 changes: 2 additions & 4 deletions setup.py
Expand Up @@ -44,13 +44,11 @@

import setuptools

version = "1.58.0"


if __name__ == "__main__":
setuptools.setup(
name="PyGithub",
version=version,
use_scm_version=True,
setup_requires=["setuptools_scm"],
description="Use the full Github API v3",
author="Vincent Jacques",
author_email="vincent@vincent-jacques.net",
Expand Down

0 comments on commit 3ea91a3

Please sign in to comment.