mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-24 23:56:51 +00:00
Add major version as tag in changelog
This commit is contained in:
@@ -22,7 +22,10 @@ export async function getChangelogs() {
|
||||
const index = await (await fetch(`${repo}/index.json`)).json() as string[]
|
||||
Changelogs = (await Promise.all(
|
||||
index.map((group, i) => fetchGroup(parseVersion(group), i))
|
||||
)).flat()
|
||||
)).flat().map<ChangelogEntry>(change => ({
|
||||
...change,
|
||||
tags: [change.group.id, ...change.tags],
|
||||
}))
|
||||
}
|
||||
return Changelogs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user