Tweak the body a little bit

This commit is contained in:
Ben Sarmiento
2024-02-01 02:11:42 +01:00
parent d7e19c33ee
commit 1e24478ff5

View File

@@ -170,7 +170,7 @@ jobs:
}
const sponsorshipDetails = `
Support [Debrid Media Manager](https://debridmediamanager.com/) and [zurg](https://github.com/debridmediamanager/zurg-testing/) development by becoming a sponsor:
Support [Debrid Media Manager](https://debridmediamanager.com/), zurg and other projects' development by becoming a sponsor:
- Patreon: https://www.patreon.com/debridmediamanager
- GitHub Sponsors: https://github.com/sponsors/debridmediamanager
- PayPal: https://paypal.me/yowmamasita
@@ -206,14 +206,16 @@ jobs:
}
}
const githubSponsors = await getGithubSponsors();
const releaseBody = `
Version: ${tagName}
Commit: '[${{ github.sha }}](https://github.com/debridmediamanager/zurg/commit/'${{ github.sha }}')'
Commit: [${{ github.sha }}](https://github.com/debridmediamanager/zurg/commit/${{ github.sha }})
Hours since last release: ${hoursSinceLastRelease} hours
${sponsorshipDetails}
Shoutouts to our amazing sponsors! ${await getGithubSponsors()}
Shoutouts to our amazing sponsors! ${githubSponsors}
`;
const response = await github.rest.repos.createRelease({