You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-06 23:56:13 +02:00
Tools: Publish full changelog for Android app
This commit is contained in:
@ -351,6 +351,7 @@ async function main() {
|
|||||||
|
|
||||||
let publishFormat = 'full';
|
let publishFormat = 'full';
|
||||||
if (['android', 'ios'].indexOf(platform) >= 0) publishFormat = 'simple';
|
if (['android', 'ios'].indexOf(platform) >= 0) publishFormat = 'simple';
|
||||||
|
if (argv.publishFormat) publishFormat = argv.publishFormat;
|
||||||
let changelog = createChangeLog(filteredLogs, { publishFormat: publishFormat });
|
let changelog = createChangeLog(filteredLogs, { publishFormat: publishFormat });
|
||||||
|
|
||||||
const changelogFixes = [];
|
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) {
|
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);
|
const newChangelog = await insertChangelog(newTag, changelogPath, changelog, isPreRelease);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user