Skip to content

Commit

Permalink
🐛 fixed github release title format in github_actions plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
acabarbaye committed Dec 22, 2022
1 parent eae1858 commit 2f96886
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions continuous_delivery_scripts/plugins/github_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ def _generate_github_cli_release_command_list(
"--notes-file",
f"{str(changelog)}",
]
title = f":sparkles: Release {version}"
title = f"Release {version}"
if is_latest:
cmd.append("--latest")
if is_prerelease:
cmd.append("--prerelease")
title = f":news: Pre-release {version}"
title = f"Pre-release {version}"
cmd.append("--title")
cmd.append(title)
return cmd
Expand All @@ -49,7 +49,7 @@ def _generate_github_cli_check_command_list() -> List[str]:

def _call_github_cli_check() -> None:
"""Calls gh to verify its accessibility."""
logger.info("Checking GitHub Actions is correctly installed.")
logger.info("Checking whether GitHub CLI is correctly installed.")
env = os.environ
env[ENVVAR_GITHUB_CLI_GIT_TOKEN] = configuration.get_value(ConfigurationVariable.GIT_TOKEN)
check_call(_generate_github_cli_check_command_list(), env=env)
Expand Down
1 change: 1 addition & 0 deletions news/20221222014441.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
:bug: fixed github release title format in `github_actions` plugin

0 comments on commit 2f96886

Please sign in to comment.