chore(release): prepare v0.2.99 notes and refine release formatting
- Add v0.2.99 release notes in all four supported languages - Limit GitHub Release notes to English followed by Simplified Chinese - Preserve all translations in app update manifests - Update release documentation and tests
This commit is contained in:
1 parent
cb7c701f04
commit
bc8b34f9f1
12 files changed
+86
-32
No files matched your search
@@ -40,7 +40,8 @@ export function validateReleaseNotes(notes) {
|
||||
|
||||
export function releaseNotesBody(notes) {
|
||||
validateReleaseNotes(notes);
|
||||
return `${releaseNotesLanguages.map(({ locale, label, missing }) => (
|
||||
const languages = ['en', 'zh-CN'].map((locale) => releaseNotesLanguages.find((language) => language.locale === locale));
|
||||
return `${languages.map(({ locale, label, missing }) => (
|
||||
`# ${label}\n\n${notes[locale]?.trim() || missing}`
|
||||
)).join('\n\n---\n\n')}\n`;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user