Skip to content

Commit 7fa3972

Browse files
github-actions[bot]The-Compiler
andauthoredFeb 3, 2022
[7.0.x] releasing: Always set doc_version (#9590)
Co-authored-by: Florian Bruhin <[email protected]>
1 parent b304499 commit 7fa3972

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed
 

‎scripts/prepare-release-pr.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,10 @@ def prepare_release_pr(
9090

9191
if prerelease:
9292
template_name = "release.pre.rst"
93-
doc_version = release_branch
9493
elif is_feature_release:
9594
template_name = "release.minor.rst"
96-
doc_version = "" # unused in template
9795
else:
9896
template_name = "release.patch.rst"
99-
doc_version = "" # unused in template
10097

10198
# important to use tox here because we have changed branches, so dependencies
10299
# might have changed as well
@@ -107,7 +104,7 @@ def prepare_release_pr(
107104
"--",
108105
version,
109106
template_name,
110-
doc_version,
107+
release_branch, # doc_version
111108
"--skip-check-links",
112109
]
113110
print("Running", " ".join(cmdline))

0 commit comments

Comments
 (0)
Please sign in to comment.