Add a comment into the release body with the Forgejo manifest URL for the version

This commit is contained in:
Oliver 2025-11-28 13:16:37 -07:00
parent 703dc83681
commit be168b6be0
2 changed files with 3 additions and 1 deletions

View file

@ -2,6 +2,7 @@ import axios from "axios";
const {
TAG,
FORGEJO_SERVER_URL: WEB_URL,
FORGEJO_API_URL: API,
FORGEJO_REPOSITORY: REPO,
FORGEJO_TOKEN: TOKEN,
@ -32,6 +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 -->`,
},
{
headers: { Authorization: `token ${TOKEN}` },