Skip to content

Commit

Permalink
gh release :d
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-jpq committed Mar 22, 2024
1 parent 5abe606 commit a073e12
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions ci/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,18 @@ def _release(project: _Project) -> None:
title = f"ci_{project.version}_{time}"
body = (_TOP_LEVEL / "RELEASE_NOTES.md").read_text()
message = f"{title}{linesep}{linesep}{body}"

arts = (normcase(p) for p in _walk(_TOP_LEVEL / "arts"))
attachments = chain.from_iterable(zip(repeat("--attach"), arts))
attachments = _walk(_TOP_LEVEL / "arts")

check_call(
(
"gh",
"release",
"create",
"--message",
"--notes",
message,
*attachments,
"--",
project.tag,
*attachments,
)
)

Expand Down

0 comments on commit a073e12

Please sign in to comment.