mirror of
https://github.com/changesets/action
synced 2026-10-26 16:39:56 +08:00
Fixed .changeset state being picked for the version command when cwd parameter is provided (#536)
* actually use cwd parameter when reading changeset state * tweak changeset --------- Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
This commit is contained in:
co-authored by
Mateusz Burzyński
parent
6002dbd987
commit
81b3f61ebf
@@ -2,4 +2,4 @@
|
|||||||
"@changesets/action": patch
|
"@changesets/action": patch
|
||||||
---
|
---
|
||||||
|
|
||||||
Making sure that `.changeset` information is picked up, when `cwd` parameter is provided
|
Fixed initial `.changeset` state being picked up, when `cwd` parameter is provided
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@changesets/action": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fixed `.changeset` state being picked for the version command when `cwd` parameter is provided
|
||||||
@@ -143,6 +143,7 @@ const getOptionalInput = (name: string) => core.getInput(name) || undefined;
|
|||||||
githubToken,
|
githubToken,
|
||||||
git,
|
git,
|
||||||
octokit,
|
octokit,
|
||||||
|
cwd,
|
||||||
prTitle: getOptionalInput("title"),
|
prTitle: getOptionalInput("title"),
|
||||||
commitMessage: getOptionalInput("commit"),
|
commitMessage: getOptionalInput("commit"),
|
||||||
hasPublishScript,
|
hasPublishScript,
|
||||||
|
|||||||
Reference in New Issue
Block a user