From 80fbad1d44b2acc9532ecbd48cfabbb88226f9fe Mon Sep 17 00:00:00 2001 From: Sertonix Date: Sat, 4 Nov 2023 16:04:17 +0000 Subject: [PATCH] verify sha512sum exists --- .woodpecker.release/release.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker.release/release.ts b/.woodpecker.release/release.ts index 7d84655..b40d3ff 100644 --- a/.woodpecker.release/release.ts +++ b/.woodpecker.release/release.ts @@ -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); }