Skip to content

Commit 0f61e78

Browse files
authored
Fix a bug when retrieving package version (#331)
1 parent b27d145 commit 0f61e78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jupyter_releaser/util.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ def get_version():
180180
wheel_path = glob(f"{tempdir}/*.whl")[0]
181181
wheel = Wheel(wheel_path)
182182
version = wheel.version
183+
return version
183184

184185
if PACKAGE_JSON.exists():
185186
return json.loads(PACKAGE_JSON.read_text(encoding="utf-8")).get("version", "")

0 commit comments

Comments
 (0)