build: fixes release build

Switch to semantic release didnt commit compiled output
This commit is contained in:
Simone Corsi
2022-05-11 09:30:15 +02:00
parent f70a021b83
commit 55cd9e9c58
3 changed files with 13955 additions and 21363 deletions

View File

@@ -20,8 +20,7 @@ export async function main() {
console.log(`check if customTemplatePath: ${customTemplatePath} exists`);
try {
const dir = await readdir('./');
console.log(dir.join('\n'));
template = await readFile('TEMPLATE.ejs', 'utf8');
template = await readFile(customTemplatePath, 'utf8');
} catch {
console.log("Couldn't find template file, using default");
}