Try a thing

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