summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2023-08-09 18:35:38 +0200
committerGitHub <noreply@github.com>2023-08-09 18:35:38 +0200
commit85d3305889e71f70db27081279c89068fbad8b98 (patch)
treea59e58d3b2c632831459a02920122ba870da892d /packaging
parentrestore conditional lookup nerfing (#81460) (diff)
downloadansible-85d3305889e71f70db27081279c89068fbad8b98.tar.xz
ansible-85d3305889e71f70db27081279c89068fbad8b98.zip
Fix f-string whitespace in release script (#81477)
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/release.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/release.py b/packaging/release.py
index 05c29faa80..a77d925cd6 100755
--- a/packaging/release.py
+++ b/packaging/release.py
@@ -943,7 +943,7 @@ def create_github_release_notes(upstream: Remote, repository: str, version: Vers
variables = dict(
version=version,
releases=get_release_artifact_details(repository, version, validate),
- changelog=f"https://github.com/{upstream.user}/{upstream.repo}/blob/v{ version }/changelogs/CHANGELOG-v{ version.major }.{ version.minor }.rst",
+ changelog=f"https://github.com/{upstream.user}/{upstream.repo}/blob/v{version}/changelogs/CHANGELOG-v{version.major}.{version.minor}.rst",
)
release_notes = template.render(**variables).strip()