mirror of https://github.com/laurent22/joplin.git
Tools: Publish full changelog for Android app
parent
b23cc5d30a
commit
77def9f782
|
@ -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 = [];
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue