build: fixes release build
Switch to semantic release didnt commit compiled output
This commit is contained in:
parent
f70a021b83
commit
55cd9e9c58
@ -10,7 +10,12 @@
|
||||
[
|
||||
"@semantic-release/git",
|
||||
{
|
||||
"assets": ["CHANGELOG.md", "package.json", "package-lock.json"]
|
||||
"assets": [
|
||||
"index.js",
|
||||
"CHANGELOG.md",
|
||||
"package.json",
|
||||
"package-lock.json"
|
||||
]
|
||||
}
|
||||
],
|
||||
"@semantic-release/github",
|
||||
|
@ -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");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user