Skip to content

Commit

Permalink
ci(updateMeta): fix invalid appstream gen
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisakura committed Dec 4, 2023
1 parent f11a72d commit e02acda
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 42 deletions.
50 changes: 25 additions & 25 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"cSpell.words": ["Vesktop"]
}
{
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"cSpell.words": ["Vesktop"]
}
15 changes: 0 additions & 15 deletions meta/dev.vencord.Vesktop.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,6 @@
</screenshot>
</screenshots>
<releases>
<!--AUTOGENERATED-->
<release version="0.4.4" date="2023-12-02" type="stable">
<url>https://github.com/Vencord/Vesktop/releases/tag/v0.4.4</url>
<description>
<p>What's Changed</p>
<ul>
<li>improve venmic system compatibility by @Curve in https://github.com/Vencord/Vesktop/pull/230</li>
<li>Update steamdeck controller layout by @AAGaming00 in https://github.com/Vencord/Vesktop/pull/236</li>
<li>feat: Add option to disable smooth scrolling by @ZirixCZ in https://github.com/Vencord/Vesktop/pull/255</li>
<li>unblur shiggy in splash screen by @viacoro in https://github.com/Vencord/Vesktop/pull/221</li>
<li>update electron &amp; arrpc @D3SOX in https://github.com/Vencord/Vesktop/pull/258</li>
</ul>
</description>
</release>
<!--/AUTOGENERATED-->
<release version="0.4.3" date="2023-11-01" type="stable">
<url>https://github.com/Vencord/Vesktop/releases/tag/v0.4.3</url>
</release>
Expand Down
4 changes: 2 additions & 2 deletions scripts/utils/updateMeta.mts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function generateDescription(description: string, descriptionNode: Element) {
descriptionNode.appendChild(pNode);
} else if (line.startsWith("* ")) {
const liNode = descriptionNode.ownerDocument.createElement("li");
liNode.textContent = line.slice(2);
liNode.textContent = line.slice(2).split("in https://github.com")[0].trim(); // don't include links to github

if (!currentList) {
currentList = descriptionNode.ownerDocument.createElement("ul");
Expand Down Expand Up @@ -82,7 +82,7 @@ generateDescription(latestReleaseInformation.body, description);

release.appendChild(description);

releaseList.insertBefore(release, releaseList.childNodes[2]);
releaseList.insertBefore(release, releaseList.childNodes[0]);

const output = xmlFormat(new XMLSerializer().serializeToString(parser), {
lineSeparator: "\n",
Expand Down

0 comments on commit e02acda

Please sign in to comment.