Version bump for initial release and fix the forgejo release URL
This commit is contained in:
parent
2373b1077d
commit
f90cb3dbab
2 changed files with 4 additions and 4 deletions
|
|
@ -33,7 +33,7 @@ async function main() {
|
|||
tag_name: TAG,
|
||||
draft: true,
|
||||
hide_archive_links: true,
|
||||
body: `<!-- Manifest URL: ${WEB_URL}/${REPO}/releases/download/${TAG}/system.json -->`,
|
||||
body: `<!-- Manifest URL: ${WEB_URL}/${REPO}/releases/download/${TAG}/module.json -->`,
|
||||
},
|
||||
{
|
||||
headers: { Authorization: `token ${TOKEN}` },
|
||||
|
|
@ -42,7 +42,7 @@ async function main() {
|
|||
|
||||
try {
|
||||
await addReleaseAsset(release.data.id, `release.zip`);
|
||||
await addReleaseAsset(release.data.id, `system.json`);
|
||||
await addReleaseAsset(release.data.id, `module.json`);
|
||||
} catch (e) {
|
||||
console.error(`Failed to add assets to the release`);
|
||||
process.exit(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue