electron/script/release/bin/validate-before-publish.ts
trop[bot] 6074f7ed31
build: cleanup release scripts, separate cli entrypoints from logic (#44082)
* build: cleanup release scripts, separate cli entrypoints from logic

Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>

* build: use repo/org constants

Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
2024-10-01 14:08:15 -07:00

6 lines
171 B
TypeScript

import { validateRelease } from '../release';
validateRelease().catch((err) => {
console.error('Error occurred while validating release:', err);
process.exit(1);
});