Skip to content

Commit b6b9d60

Browse files
committed
Debug populate-release
1 parent 07e8dcd commit b6b9d60

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

jupyter_releaser/lib.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,13 +251,17 @@ def populate_release(
251251
release = util.release_for_url(gh, release_url)
252252

253253
# if the release is silent, the changelog source of truth is the GitHub release
254+
util.log(f"Assets {assets}")
254255
silent = False
255256
for asset in assets:
256257
asset_path = Path(asset)
257258
if asset_path.name == util.METADATA_JSON.name:
258259
metadata = json.loads(asset_path.read_text(encoding="utf-8"))
259260
silent = metadata.get("silent", False)
260261
body = release.body if silent else changelog.extract_current(changelog_path)
262+
util.log(f"release is silent: {silent}")
263+
util.log(f"populate-release release.body: {release.body[100:]}")
264+
util.log(f"populate-release body: {body[100:]}")
261265

262266
remote_name = util.get_remote_name(dry_run)
263267
remote_url = util.run(f"git config --get remote.{remote_name}.url")

0 commit comments

Comments
 (0)