git-stack-cli 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28070,6 +28070,9 @@ echo "$GIT_REVISE_TODO" > "$git_revise_todo_path"
28070
28070
  }
28071
28071
  }
28072
28072
  async function update_pr_tables(pr_url_list) {
28073
+ if (!argv.sync) {
28074
+ return;
28075
+ }
28073
28076
  for (let i = 0; i < commit_range.group_list.length; i++) {
28074
28077
  const group = commit_range.group_list[i];
28075
28078
  // use the updated pr_url_list to get the actual selected_url
@@ -34316,7 +34319,7 @@ async function command() {
34316
34319
  .wrap(123)
34317
34320
  // disallow unknown options
34318
34321
  .strict()
34319
- .version("1.3.0" )
34322
+ .version("1.3.1" )
34320
34323
  .showHidden("show-hidden", "Show hidden options via `git stack help --show-hidden`")
34321
34324
  .help("help", "Show usage via `git stack help`").argv);
34322
34325
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "git-stack-cli",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "",
5
5
  "author": "magus",
6
6
  "license": "MIT",
@@ -52,7 +52,7 @@ for (const filepath of package_json.files) {
52
52
  process.env.GS_RELEASE_NPM = "true";
53
53
  console.info("Publishing to NPM requires a one-time password");
54
54
  const otp = await input("Enter OTP: ");
55
- await spawn(`npm publish --otp=${otp}`);
55
+ await spawn(["npm", "publish", `--otp=${otp}`]);
56
56
 
57
57
  process.chdir(PROJECT_DIR);
58
58
 
@@ -342,6 +342,10 @@ async function run() {
342
342
  }
343
343
 
344
344
  async function update_pr_tables(pr_url_list: Array<string>) {
345
+ if (!argv.sync) {
346
+ return;
347
+ }
348
+
345
349
  for (let i = 0; i < commit_range.group_list.length; i++) {
346
350
  const group = commit_range.group_list[i];
347
351