[stable-2.14] Fix f-string whitespace in release script (#81477) (#81479)

(cherry picked from commit 85d3305889)
pull/81528/head
Matt Clay 1 year ago committed by GitHub
parent 5a225f9e95
commit 53b685fd6d
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