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:
parent
9b6ee34406
commit
80fbad1d44
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue