Skip to content

Commit

Permalink
Merge pull request #17 from dolittle/fix-package-folder
Browse files Browse the repository at this point in the history
Use the correct cwd when publishing packages
  • Loading branch information
woksin authored Jul 12, 2020
2 parents 071dd56 + 56adad5 commit a654193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ async function publishPackages(project: Project, version: SemVer) {
args.push('--tag');
args.push(prerelease[0]);
}
if (await exec('npm publish', args, { ignoreReturnCode: true, cwd: project.root}) !== 0) allSucceeded = false;
if (await exec('npm publish', args, { ignoreReturnCode: true, cwd: packageToPublish.rootFolder}) !== 0) allSucceeded = false;
}
return allSucceeded;
}
Expand Down

0 comments on commit a654193

Please sign in to comment.