File tree Expand file tree Collapse file tree 4 files changed +5
-16
lines changed Expand file tree Collapse file tree 4 files changed +5
-16
lines changed Original file line number Diff line number Diff line change 24
24
steps :
25
25
- name : Check out the repository
26
26
uses : actions/checkout@v3
27
- with :
28
- # We want our tags here
29
- fetch-depth : 0
30
27
31
28
- name : Setup Python
32
29
uses : actions/setup-python@v4.2.0
Original file line number Diff line number Diff line change 26
26
* .pem
27
27
/.python-version
28
28
/.tool-versions
29
- src /github3 /_version.py
Original file line number Diff line number Diff line change @@ -50,17 +50,7 @@ dev = [
50
50
]
51
51
52
52
[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"
64
54
65
55
[tool .hatch .build .targets .wheel ]
66
56
packages = [
Original file line number Diff line number Diff line change 5
5
__author_email__ = "graffatcolmingov@gmail.com"
6
6
__license__ = "Modified BSD"
7
7
__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
+ )
8
12
__url__ = "https://github3.readthedocs.io"
9
- from ._version import __version__ , __version_info__
10
13
11
14
__all__ = (
12
15
"__package_name__" ,
You can’t perform that action at this time.
0 commit comments