0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-21 21:23:08 -05:00

verify sha512sum exists

This commit is contained in:
Sertonix 2023-11-04 16:04:17 +00:00
parent 9b6ee34406
commit 80fbad1d44

View file

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