8000 Return to manual versioning · shin4141/github3.py@afc4593 · GitHub
[go: up one dir, main page]

Skip to content

Commit afc4593

Browse files
committed
Return to manual versioning
1 parent a93f9f5 commit afc4593

File tree

4 files changed

+5
-16
lines changed

4 files changed

+5
-16
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ jobs:
2424
steps:
2525
- name: Check out the repository
2626
uses: actions/checkout@v3
27-
with:
28-
# We want our tags here
29-
fetch-depth: 0
3027

3128
- name: Setup Python
3229
uses: actions/setup-python@v4.2.0

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,3 @@ t.py
2626
*.pem
2727
/.python-version
2828
/.tool-versions
29-
src/github3/_version.py

pyproject.toml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,7 @@ dev = [
5050
]
5151

5252
[tool.hatch.version]
53-
source = "vcs"
54-
55-
[tool.hatch.build.hooks.vcs]
56-
version-file = "src/github3/_version.py"
57-
template = """\
58-
# coding: utf-8
59-
# file generated by hatch VCS
60-
# don't change, don't track in version control
61-
__version__ = {version!r} # pragma: no mutate
62-
__version_info__ = {version_tuple!r} # pragma: no mutate
63-
"""
53+
path = "src/github3/__about__.py"
6454

6555
[tool.hatch.build.targets.wheel]
6656
packages = [

src/github3/__about__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@
55
__author_email__ = "graffatcolmingov@gmail.com"
66
__license__ = "Modified BSD"
77
__copyright__ = "Copyright 2012-2022 Ian Stapleton Cordasco"
8+
__version__ = "3.2.0"
9+
__version_info__ = tuple(
10+
int(i) for i in __version__.split(".") if i.isdigit()
11+
)
812
__url__ = "https://github3.readthedocs.io"
9-
from ._version import __version__, __version_info__
1013

1114
__all__ = (
1215
"__package_name__",

0 commit comments

Comments
 (0)
0