Fix f-string whitespace in release script (#81477)

pull/81481/head
Matt Clay 9 months ago committed by GitHub
parent 1c765a6afc
commit 85d3305889
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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()

Loading…
Cancel
Save