Skip to content

Commit

Permalink
Fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
dralley committed Feb 16, 2023
1 parent 3d41102 commit 3df0797
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/scripts/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ def create_tag_and_build_package(repo, desired_tag, commit_sha, plugin_path):
tag = existing_tag
else:
raise RuntimeError(
"The '{desired_tag}' tag already exists, but the commit sha does not match "
"'{commit_sha}'."
f"The '{desired_tag}' tag already exists, but the commit sha does not match "
f"'{commit_sha}'."
)

# Create a tag if one does not exist
Expand All @@ -138,7 +138,7 @@ def create_tag_and_build_package(repo, desired_tag, commit_sha, plugin_path):
loop = asyncio.get_event_loop() # noqa
# fmt: off
package_found = asyncio.run(
get_package_from_pypi("pulp-rpm=={tag.name}", plugin_path)
get_package_from_pypi(f"pulp-rpm=={tag.name}", plugin_path)
) # noqa
# fmt: on
if not package_found:
Expand Down

0 comments on commit 3df0797

Please sign in to comment.