You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-26 22:41:17 +02:00
Tools: Fixed changelog tool
This commit is contained in:
@@ -126,7 +126,7 @@ function filterLogs(logs: LogEntry[], platform: Platform) {
|
|||||||
if (platform === 'cli' && prefix.indexOf('cli') >= 0) addIt = true;
|
if (platform === 'cli' && prefix.indexOf('cli') >= 0) addIt = true;
|
||||||
if (platform === 'clipper' && prefix.indexOf('clipper') >= 0) addIt = true;
|
if (platform === 'clipper' && prefix.indexOf('clipper') >= 0) addIt = true;
|
||||||
if (platform === 'server' && prefix.indexOf('server') >= 0) addIt = true;
|
if (platform === 'server' && prefix.indexOf('server') >= 0) addIt = true;
|
||||||
if (platform === 'cloud' && prefix.indexOf('cloud') >= 0) addIt = true;
|
if (platform === 'cloud' && (prefix.indexOf('cloud') >= 0 || prefix.indexOf('server'))) addIt = true;
|
||||||
|
|
||||||
// Translation updates often comes in format "Translation: Update pt_PT.po"
|
// Translation updates often comes in format "Translation: Update pt_PT.po"
|
||||||
// but that's not useful in a changelog especially since most people
|
// but that's not useful in a changelog especially since most people
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ export function releaseFinalGitCommands(appName: string, newVersion: string, new
|
|||||||
}
|
}
|
||||||
|
|
||||||
export async function completeReleaseWithChangelog(changelogPath: string, newVersion: string, newTag: string, appName: string, isPreRelease: boolean, repoTagUrl = '') {
|
export async function completeReleaseWithChangelog(changelogPath: string, newVersion: string, newTag: string, appName: string, isPreRelease: boolean, repoTagUrl = '') {
|
||||||
const changelog = (await execCommand2(`node ${rootDir}/packages/tools/git-changelog ${newTag} --publish-format full`, { })).trim();
|
const changelog = (await execCommand2(`node ${rootDir}/packages/tools/git-changelog ${newTag} --publish-format full`, { showStdout: false })).trim();
|
||||||
|
|
||||||
const newChangelog = await insertChangelog(newTag, changelogPath, changelog, isPreRelease, repoTagUrl);
|
const newChangelog = await insertChangelog(newTag, changelogPath, changelog, isPreRelease, repoTagUrl);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user