Merge pull request #7819 from jepler/sort-website-release-blurb

sort new boards & new languages lists in circuitpython.org update PR
This commit is contained in:
Dan Halbert 2023-03-30 21:34:09 -04:00 committed by GitHub
commit 9c587ccfec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -136,10 +136,10 @@ def create_pr(changes, updated, git_info, user):
pr_title = "Automated website update for release {}".format(changes["new_release"])
boards = ""
if changes["new_boards"]:
boards = "New boards:\n* " + "\n* ".join(changes["new_boards"])
boards = "New boards:\n* " + "\n* ".join(sorted(changes["new_boards"]))
languages = ""
if changes["new_languages"]:
languages = "New languages:\n* " + "\n* ".join(changes["new_languages"])
languages = "New languages:\n* " + "\n* ".join(sorted(changes["new_languages"]))
message = "Automated website update for release {} by Blinka.\n\n{}\n\n{}\n".format(
changes["new_release"], boards, languages
)