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:
parent
bea5bf1a75
commit
df767bc6d5
2 changed files with 4 additions and 6 deletions
|
@ -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}`);
|
||||||
}
|
}
|
||||||
|
|
2
release
2
release
|
@ -1 +1 @@
|
||||||
3
|
1
|
||||||
|
|
Loading…
Reference in a new issue