chore: release v1.0.1
This commit is contained in:
@@ -21,7 +21,9 @@ const VERSION = pkg.version;
|
||||
const TAG = `v${VERSION}`;
|
||||
|
||||
const DIST = path.join(__dirname, '..', 'dist');
|
||||
const ASSETS = fs.readdirSync(DIST).filter(f => f.endsWith('.AppImage') || (f.endsWith('.exe') && !f.endsWith('.blockmap')));
|
||||
const ASSETS = fs.readdirSync(DIST).filter(f =>
|
||||
(f.endsWith('.AppImage') || (f.endsWith('.exe') && !f.endsWith('.blockmap'))) && f.includes(VERSION)
|
||||
);
|
||||
|
||||
if (!ASSETS.length) {
|
||||
console.error('Aucun binaire trouvé dans dist/. Lance "npm run dist" et "npm run dist:win" d\'abord.');
|
||||
|
||||
Reference in New Issue
Block a user