Skip to content

Commit dea7142

Browse files
committed
be more explicit
1 parent 8b96a9e commit dea7142

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyter_releaser/util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,9 @@ def bump_version(version_spec, *, changelog_path="", version_cmd=""):
248248

249249
if PYPROJECT.exists():
250250
pyproject_text = PYPROJECT.read_text(encoding="utf-8")
251-
if "tbump" in pyproject_text:
251+
if "tool.tbump" in pyproject_text:
252252
version_cmd = version_cmd or TBUMP_CMD
253-
elif "hatchling" in pyproject_text:
253+
elif "hatchling.build" in pyproject_text:
254254
version_cmd = version_cmd or "hatchling version"
255255

256256
if SETUP_CFG.exists():

0 commit comments

Comments
 (0)