0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 13:43:04 -05:00

Tue Sep 12 05:11:08 PM CEST 2023

This commit is contained in:
Bert van der Weerd 2023-09-12 17:11:08 +02:00
parent bea5bf1a75
commit df767bc6d5
No known key found for this signature in database
GPG key ID: 73370A0B9E5516B0
2 changed files with 4 additions and 6 deletions

View file

@ -74,9 +74,7 @@ async function createNewRelease() {
console.log(`Creating new release v${version}...`); console.log(`Creating new release v${version}...`);
const releaseUrl = `${repoUrl}/releases`; const releaseUrl = `${repoUrl}/releases`;
const requestBody = { const requestBody = {
body: `Release v${version} of the LibreWolf source tarball. body: `Please see the README.md file for compilation instructions and dependency details.
Please see the README.md file for compilation instructions and dependency details.
* [${tarball_artifact}](https://storage.ci.librewolf.net/artifacts/${ci_build_number}/librewolf-${version}.source.tar.gz) * [${tarball_artifact}](https://storage.ci.librewolf.net/artifacts/${ci_build_number}/librewolf-${version}.source.tar.gz)
* [${sha256sum_artifact}](https://storage.ci.librewolf.net/artifacts/${ci_build_number}/librewolf-${version}.source.tar.gz.sha256sum) * [${sha256sum_artifact}](https://storage.ci.librewolf.net/artifacts/${ci_build_number}/librewolf-${version}.source.tar.gz.sha256sum)
@ -95,7 +93,7 @@ Note: these artifacts don't have a long shelflife on our current s3 server, but
if (response.status === 201) { if (response.status === 201) {
// await addReleaseArtifact(tarball_artifact, response.data.id); // await addReleaseArtifact(tarball_artifact, response.data.id);
await addReleaseArtifact(sha256sum_artifact, response.data.id); await addReleaseArtifact(sha256sum_artifact, response.data.id);
console.log(`Successfully done building the release.`); console.log(`Successfully built release: ${releaseUrl}`);
} else { } else {
throw new Error(`Failed to create release. Unexpected response status: ${response.status}`); throw new Error(`Failed to create release. Unexpected response status: ${response.status}`);
} }

View file

@ -1 +1 @@
3 1