File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1125,6 +1125,15 @@ def modify_the_docs_by_version_page(db: ReleaseShelf) -> None:
11251125 )
11261126
11271127
1128+ def announce_release (db : ReleaseShelf ) -> None :
1129+ if not ask_question (
1130+ "Have you announced the release at https://discuss.python.org/c/core-dev/23 "
1131+ "and https://www.blogger.com?\n "
1132+ "Tip: use the 'release' tag and 'releases' label respectively."
1133+ ):
1134+ raise ReleaseException ("The release has not been announced" )
1135+
1136+
11281137def post_release_merge (db : ReleaseShelf ) -> None :
11291138 subprocess .check_call (
11301139 ["git" , "fetch" , "--all" ],
@@ -1448,6 +1457,7 @@ def _api_key(api_key: str) -> str:
14481457 Task (purge_the_cdn , "Purge the CDN of python.org/downloads" ),
14491458 Task (modify_the_prereleases_page , "Modify the pre-release page" ),
14501459 Task (modify_the_docs_by_version_page , "Update docs by version page" ),
1460+ Task (announce_release , "Announce the release" ),
14511461 ]
14521462 automata = ReleaseDriver (
14531463 git_repo = args .repo ,
You can’t perform that action at this time.
0 commit comments