chore: Update createMarFile function to include github parameter

This commit is contained in:
Mauro Balades 2024-08-14 20:06:46 +02:00
parent 6de5d11274
commit 62c50b6a84
3 changed files with 82 additions and 32 deletions

View file

@ -63,7 +63,7 @@ function getReleaseMarName(releaseInfo: ReleaseInfo): string | undefined {
}
}
function getReleaseMarURL(releaseInfo: ReleaseInfo) {
export function getReleaseMarURL(releaseInfo: ReleaseInfo) {
const releaseMarName = getReleaseMarName(releaseInfo)
let completeMarURL = `https://${config.updateHostname || 'localhost:8000'}/${
releaseMarName || 'output.mar'