Skip to content

Commit

Permalink
Merge pull request #124 from zowe-actions/fix/lerna-prerelease-version
Browse files Browse the repository at this point in the history
Commit all package.json files for prerelease version
  • Loading branch information
t1m0thyj committed Nov 16, 2023
2 parents a029e3d + 688daed commit 288ff52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/lerna.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/lerna/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default async function (context: IContext, config: IPluginConfig): Promis
} else {
context.logger.warn("Could not find lockfile to update version in");
}
for (const { location } of changedPackageInfo) {
for (const { location } of await utils.lernaList(false)) {
const relLocation = path.relative(context.rootDir, location);
context.changedFiles.push(path.join(relLocation, "package.json"));
}
Expand Down

0 comments on commit 288ff52

Please sign in to comment.