Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 30, 2024
1 parent 98ced7d commit c6695fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion ge_releaser/cmd/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ def _create_release(git: GitService, release_version: str, draft: bool) -> None:
changelog_path = (
GxFile.CHANGELOG_MD_V0 if git.trunk_is_0ver else GxFile.CHANGELOG_MD_V1
)
release_notes = _gather_release_notes(release_version, pathlib.Path(changelog_path.value))
release_notes = _gather_release_notes(
release_version, pathlib.Path(changelog_path.value)
)
message = "".join(line for line in release_notes)
git.create_release(version=release_version, message=message, draft=draft)

Expand Down
6 changes: 4 additions & 2 deletions ge_releaser/cmd/tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ def _tag_release_commit(git: GitService, commit: str, release_version: str) -> N
def _print_next_steps(version_number: str) -> None:
tag_url = os.path.join(GxURL.RELEASES, "tag", version_number)

msg = ("Please start a thread in #gx-platform-release about the release and update the thread as the release progresses. "
"Make sure to wait for the build process and PyPI publishing to complete before moving to the `prep` cmd.")
msg = (
"Please start a thread in #gx-platform-release about the release and update the thread as the release progresses. "
"Make sure to wait for the build process and PyPI publishing to complete before moving to the `prep` cmd."
)

click.secho(f"\n{msg}", fg="green")
click.echo(f"Link to tag: {tag_url}")
Expand Down

0 comments on commit c6695fe

Please sign in to comment.