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

Merge pull request 'verify sha512sum exists' (!68) from Sertonix/librewolf-source:sha512sum-check-exists into main

Reviewed-on: https://codeberg.org/librewolf/source/pulls/68
This commit is contained in:
Malte Jürgens 2023-11-04 22:26:56 +00:00
commit 6e6096b310

View file

@ -34,7 +34,7 @@ const tarballExists = fs.existsSync(path.join('..', tarball_artifact));
const sha256sumExists = fs.existsSync(path.join('..', sha256sum_artifact));
const sha512sumExists = fs.existsSync(path.join('..', sha512sum_artifact));
if (!tarballExists || !sha256sumExists) {
if (!tarballExists || !sha256sumExists || !sha512sumExists) {
console.error(`Missing artifacts. Ensure both ${tarball_artifact}, ${sha256sum_artifact} and ${sha512sum_artifact} are present in the parent directory.`);
process.exit(1);
}