You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
Tools: Fixed git-changelog
This commit is contained in:
@ -83,7 +83,12 @@ async function gitLog(sinceTag: string) {
|
|||||||
|
|
||||||
async function gitTags() {
|
async function gitTags() {
|
||||||
const lines: string = await execCommand('git tag --sort=committerdate');
|
const lines: string = await execCommand('git tag --sort=committerdate');
|
||||||
return lines.split('\n').map(l => l.trim()).filter(l => !!l);
|
const collator = new Intl.Collator(undefined, { numeric: true, sensitivity: 'base' });
|
||||||
|
return lines
|
||||||
|
.split('\n')
|
||||||
|
.map(l => l.trim())
|
||||||
|
.filter(l => !!l)
|
||||||
|
.sort((a, b) => collator.compare(a, b));
|
||||||
}
|
}
|
||||||
|
|
||||||
function platformFromTag(tagName: string): Platform {
|
function platformFromTag(tagName: string): Platform {
|
||||||
|
Reference in New Issue
Block a user