File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -27483,7 +27483,7 @@ const registries$1 = {
2748327483function publishPackage(pkgPath, options) {
2748427484 const cwd = require$$0$9.resolve(pkgPath, "..");
2748527485 const exec = (command22) => {
27486- core.info(command22);
27486+ core.info(`> ${ command22}` );
2748727487 cp.execSync(command22, {
2748827488 cwd,
2748927489 stdio: "inherit",
@@ -27553,8 +27553,10 @@ async function publishPackages(options) {
2755327553 );
2755427554 const pkgPaths = ["package.json", ...childPkgPaths];
2755527555 core.info(`pkgPaths: ${JSON.stringify(pkgPaths)}`);
27556+ const length = pkgPaths.length;
27557+ let order = 1;
2755627558 for (const pkgPath of pkgPaths) {
27557- core.info(`read package ${pkgPath}`);
27559+ core.info(`[${order++}/${length}] read package ${pkgPath}`);
2755827560 const pkgFile = require$$0$9.join(cwd, pkgPath);
2755927561 const origin = fs$9.readFileSync(pkgFile, "utf-8");
2756027562 const pkg2 = JSON.parse(origin);
@@ -27604,6 +27606,9 @@ async function main() {
2760427606 const input = inputs[key];
2760527607 options[key] = input === void 0 ? defaultVal : input;
2760627608 }
27609+ if (core.isDebug()) {
27610+ core.debug(`Options: ${JSON.stringify(options, null, 2)}`);
27611+ }
2760727612 await publishPackages(options);
2760827613}
2760927614main().then(() => {
You can’t perform that action at this time.
0 commit comments