Skip to content

Commit 2fc7de9

Browse files
authored
Fix docs and lint (#577)
1 parent 52341d5 commit 2fc7de9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
hatch run test:nowarn || hatch run test:nowarn --lf
120120
121121
docs:
122-
runs-on: windows-latest
122+
runs-on: ubuntu-latest
123123
timeout-minutes: 10
124124
steps:
125125
- uses: actions/checkout@v4

jupyter_releaser/lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ def publish_assets(
430430
dist: Union[Type[SDist], Type[Wheel]]
431431
dist = SDist if suffix == ".gz" else Wheel
432432
pkg = dist(path)
433-
pkg_name = canonicalize_name(pkg.name)
433+
pkg_name = canonicalize_name(pkg.name or "")
434434
if not python_package_name or python_package_name == pkg_name:
435435
env = os.environ.copy()
436436
env["TWINE_PASSWORD"] = twine_token

0 commit comments

Comments
 (0)