File tree Expand file tree Collapse file tree 5 files changed +4
-4
lines changed Expand file tree Collapse file tree 5 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ testpaths = tests
3
3
addopts = -p no:warnings
4
4
5
5
[semantic_release]
6
- version_variable = time_tracker_api/__init__ .py:__version__
6
+ version_variable = time_tracker_api/version .py:__version__
7
7
upload_to_pypi = false
8
8
remove_dist = false
9
9
Original file line number Diff line number Diff line change 4
4
5
5
def get_version () -> str :
6
6
version = {}
7
- path_to_file_with_version = "time_tracker_api/__init__ .py"
7
+ path_to_file_with_version = "time_tracker_api/version .py"
8
8
try :
9
9
with open (path_to_file_with_version ) as fp :
10
10
exec (fp .read (), version )
Original file line number Diff line number Diff line change 3
3
4
4
from flask import Flask
5
5
6
- __version__ = '0.3.0'
7
6
8
7
flask_app : Flask = None
9
8
Original file line number Diff line number Diff line change 5
5
from flask_restplus ._http import HTTPStatus
6
6
7
7
from commons .data_access_layer .cosmos_db import CustomError
8
- from time_tracker_api import __version__
8
+ from time_tracker_api . version import __version__
9
9
10
10
faker = Faker ()
11
11
Original file line number Diff line number Diff line change
1
+ __version__ = '0.3.0'
You can’t perform that action at this time.
0 commit comments