Fix publishing Totally For Real this time

This commit is contained in:
mitchellhamilton
2019-09-27 09:39:25 +10:00
parent 6751c54349
commit 08f1c47719
2 changed files with 3 additions and 3 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -60,8 +60,8 @@ import * as semver from "semver";
let hasChangesets = fs let hasChangesets = fs
.readdirSync(`${process.cwd()}/.changeset`) .readdirSync(`${process.cwd()}/.changeset`)
.some(x => x !== "config.json" && x !== "config.js" && x !== "README.md"); .some(x => x !== "README.md" && x.endsWith(".md"));
console.log(JSON.stringify(fs.readdirSync(`${process.cwd()}/.changeset`)));
let publishScript = core.getInput("publish"); let publishScript = core.getInput("publish");
if (!hasChangesets && !publishScript) { if (!hasChangesets && !publishScript) {