Tools: Publish full changelog for Android app

pull/5083/head
Laurent Cozic 2021-06-15 21:08:55 +01:00
parent b23cc5d30a
commit 77def9f782
2 changed files with 2 additions and 1 deletions

View File

@ -351,6 +351,7 @@ async function main() {
let publishFormat = 'full';
if (['android', 'ios'].indexOf(platform) >= 0) publishFormat = 'simple';
if (argv.publishFormat) publishFormat = argv.publishFormat;
let changelog = createChangeLog(filteredLogs, { publishFormat: publishFormat });
const changelogFixes = [];

View File

@ -65,7 +65,7 @@ async function insertChangelog(tag: string, changelogPath: string, changelog: st
}
export async function completeReleaseWithChangelog(changelogPath: string, newVersion: string, newTag: string, appName: string, isPreRelease: boolean) {
const changelog = (await execCommand2(`node ${rootDir}/packages/tools/git-changelog ${newTag}`, { })).trim();
const changelog = (await execCommand2(`node ${rootDir}/packages/tools/git-changelog ${newTag} --publish-format full`, { })).trim();
const newChangelog = await insertChangelog(newTag, changelogPath, changelog, isPreRelease);