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
|
|
@ -1,13 +1,13 @@
|
||||||
{
|
{
|
||||||
"id": "oft",
|
"id": "oft",
|
||||||
"title": "Oliver's Foundry Tweaks",
|
"title": "Oliver's Foundry Tweaks",
|
||||||
"version": "0.0.0",
|
"version": "1.0.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{ "name": "Oliver" }
|
{ "name": "Oliver" }
|
||||||
],
|
],
|
||||||
"download": "",
|
"download": "",
|
||||||
"manifest": "",
|
"manifest": "",
|
||||||
"url": "",
|
"url": "https://git.varify.ca/Foundry/oft",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": 13,
|
"minimum": 13,
|
||||||
"verified": 13,
|
"verified": 13,
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ async function main() {
|
||||||
tag_name: TAG,
|
tag_name: TAG,
|
||||||
draft: true,
|
draft: true,
|
||||||
hide_archive_links: 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}` },
|
headers: { Authorization: `token ${TOKEN}` },
|
||||||
|
|
@ -42,7 +42,7 @@ async function main() {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await addReleaseAsset(release.data.id, `release.zip`);
|
await addReleaseAsset(release.data.id, `release.zip`);
|
||||||
await addReleaseAsset(release.data.id, `system.json`);
|
await addReleaseAsset(release.data.id, `module.json`);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(`Failed to add assets to the release`);
|
console.error(`Failed to add assets to the release`);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue