mirror of
https://codeberg.org/librewolf/source.git
synced 2024-12-22 13:43:04 -05:00
Tue Sep 12 04:47:37 PM CEST 2023
This commit is contained in:
parent
7e2fba4cba
commit
558961b19e
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,7 @@ async function addReleaseArtifact(fileName: string, releaseId: number) {
|
|||
}
|
||||
|
||||
async function createNewRelease() {
|
||||
console.log(`Creating new release v${version}...`);
|
||||
const releaseUrl = `${repoUrl}/releases`;
|
||||
const requestBody = {
|
||||
body: `Release v${version} of the LibreWolf source tarball.
|
||||
|
@ -94,6 +95,7 @@ async function createNewRelease() {
|
|||
if (response.status === 201) {
|
||||
// await addReleaseArtifact(tarball_artifact, response.data.id);
|
||||
await addReleaseArtifact(sha256sum_artifact, response.data.id);
|
||||
console.log(`Successfully done building the release.`);
|
||||
} else {
|
||||
throw new Error(`Failed to create release. Unexpected response status: ${response.status}`);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue