@pubm/plugin-brew 0.4.8 → 0.4.9

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -470,7 +470,7 @@ function brewTap(options) {
470
470
  mkdirSync2(dirname2(formulaPath), { recursive: true });
471
471
  writeFileSync2(formulaPath, content);
472
472
  console.log(`Formula updated at ${options.formula}`);
473
- if (!options.repo) {
473
+ {
474
474
  const { execSync: execSync2 } = await import("node:child_process");
475
475
  ensureGitIdentity();
476
476
  execSync2(`git add ${formulaPath}`, { stdio: "inherit" });
@@ -494,7 +494,6 @@ function brewTap(options) {
494
494
  }
495
495
  console.log(`Created PR on branch ${branch}`);
496
496
  }
497
- return;
498
497
  }
499
498
  if (options.repo) {
500
499
  const { tmpdir: tmpdir2 } = await import("node:os");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pubm/plugin-brew",
3
- "version": "0.4.8",
3
+ "version": "0.4.9",
4
4
  "type": "module",
5
5
  "description": "pubm plugin for Homebrew formula publishing workflows",
6
6
  "main": "./dist/index.js",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "peerDependencies": {
26
- "@pubm/core": ">=0.4.3"
26
+ "@pubm/core": ">=0.4.8"
27
27
  },
28
28
  "publishConfig": {
29
29
  "access": "public"