mirror of
https://github.com/changesets/action
synced 2026-10-26 16:39:56 +08:00
Fix for changesets v1
This commit is contained in:
@@ -60,7 +60,10 @@ import * as semver from "semver";
|
||||
|
||||
let hasChangesets = fs
|
||||
.readdirSync(`${process.cwd()}/.changeset`)
|
||||
.some(x => x !== "README.md" && x.endsWith(".md"));
|
||||
.some(
|
||||
x =>
|
||||
x !== "README.md" && (x.endsWith(".md") || x.endsWith("changes.json"))
|
||||
);
|
||||
|
||||
let publishScript = core.getInput("publish");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user