generateMeta: support drafts
This commit is contained in:
@@ -36,6 +36,8 @@ jobs:
|
||||
|
||||
- name: Update metainfo
|
||||
run: pnpm generateMeta
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Upload metainfo to release
|
||||
run: |
|
||||
|
||||
@@ -46,7 +46,8 @@ function generateDescription(description: string, descriptionNode: Element) {
|
||||
const releases = await fetch("https://api.github.com/repos/Vencord/Vesktop/releases", {
|
||||
headers: {
|
||||
Accept: "application/vnd.github+json",
|
||||
"X-Github-Api-Version": "2022-11-28"
|
||||
"X-Github-Api-Version": "2022-11-28",
|
||||
Authorization: `Bearer ${process.env.GITHUB_TOKEN}`
|
||||
}
|
||||
}).then(res => res.json());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user