mirror of
https://github.com/changesets/action
synced 2026-10-26 16:39:56 +08:00
Fix publishing Totally For Real this time
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -60,8 +60,8 @@ 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(JSON.stringify(fs.readdirSync(`${process.cwd()}/.changeset`)));
|
||||
.some(x => x !== "README.md" && x.endsWith(".md"));
|
||||
|
||||
let publishScript = core.getInput("publish");
|
||||
|
||||
if (!hasChangesets && !publishScript) {
|
||||
|
||||
Reference in New Issue
Block a user