Repository navigation
Release: a banner for every version, a full page, and a Telegram post - #77
Merged
Merged
Conversation
… with it - tool/release_banner.py draws docs/images/v<version>/banner.svg from the v3.2.0 artwork: version badge, NEW or PATCH RELEASE with the month, two tagline lines and up to four chips. Wording comes from a <!-- banner --> comment in the notes, or from the areas merged since the last tag. The version job commits it with the bump; one already there is kept. - The release page gets the banner on top. A version with no notes file now gets a page in the v3.2.0 layout (badges, what's new by area, downloads, community, compare link) instead of the bare table. - Telegram: the banner as a photo with an HTML caption (the notes' Uzbek summary, or the merged changes) and buttons (Android from the CDN, all platforms when the release is public, channel, Discord). The files follow, with install notes under the last one. Falls back to text if the picture or HTML is refused. - v3.2.1 notes: banner wording, and its banner.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Every release now gets what v3.2.0 had by hand.
Banner.
tool/release_banner.pydrawsdocs/images/v<version>/banner.svgfrom the v3.2.0 artwork and animation. Only the right column changes:v3.2.10NEW RELEASEorPATCH RELEASEwith the monthThe wording comes from a comment in the notes:
If the notes have no such comment, the chips are the areas merged since the last tag. The version job commits the banner with the bump. A banner already in the repo is kept.
Release page.
docs/releases/v<version>.mdnow gets a page in the v3.2.0 layout instead of the bare file table. It has badges, what's new grouped by area (from merged PR titles, with internal ones like Release/CI/docs left out), downloads, community links and a compare link.Telegram.
Tested
tool/compose_release_notes_test.py(11 new).