File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 22"""
33from . import poetry
44
5- __version__ = "0.80.5 "
5+ __version__ = "0.80.6 "
Original file line number Diff line number Diff line change @@ -137,9 +137,10 @@ def add_tag_release(
137137 :param branch_release: The branch for releasing.
138138 :raises ValueError: If the tag to create already exists.
139139 """
140- if proj_dir is None :
141- proj_dir = _project_dir ()
142- tag = tag if tag else ("v" + _project_version (proj_dir ))
140+ if not tag :
141+ if proj_dir is None :
142+ proj_dir = _project_dir ()
143+ tag = "v" + _project_version (proj_dir )
143144 repo = dulwich .repo .Repo (proj_dir )
144145 if tag .encode () in dulwich .porcelain .tag_list (repo ):
145146 raise ValueError (
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " aiutil"
3- version = " 0.80.5 "
3+ version = " 0.80.6 "
44description = " A utils Python package for data scientists."
55authors = [
" Benjamin Du <[email protected] >" ]
66license = " MIT"
You can’t perform that action at this time.
0 commit comments