[stable-2.15] Fix f-string whitespace in release script (#81477) (#81478)

(cherry picked from commit 85d3305889)
pull/81525/head
Matt Clay 1 year ago committed by GitHub
parent bdd9e8f1aa
commit 618aa954af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -977,7 +977,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