chore: release v1.0.1

This commit is contained in:
s
2026-06-30 11:42:21 +02:00
parent 2a66dd7174
commit 13a5ede027
3 changed files with 6 additions and 4 deletions

View File

@@ -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.');