@wipcomputer/wip-release 1.9.55 → 1.9.57

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/core.mjs +3 -3
  2. package/package.json +1 -1
package/core.mjs CHANGED
@@ -1614,8 +1614,8 @@ export async function release({ repoPath, level, notes, notesSource, dryRun, noP
1614
1614
  // 12. Prune stale worktrees (#212)
1615
1615
  try {
1616
1616
  execSync('git worktree prune', { cwd: repoPath, stdio: 'pipe' });
1617
- // Also check _worktrees/ for dirs whose branches are now merged
1618
- const worktreesDir = join(dirname(repoPath), '_worktrees');
1617
+ // Also check .worktrees/ for dirs whose branches are now merged
1618
+ const worktreesDir = join(dirname(repoPath), '.worktrees');
1619
1619
  if (existsSync(worktreesDir)) {
1620
1620
  const repoBase = basename(repoPath);
1621
1621
  const wtDirs = readdirSync(worktreesDir, { withFileTypes: true })
@@ -1639,7 +1639,7 @@ export async function release({ repoPath, level, notes, notesSource, dryRun, noP
1639
1639
  } catch {} // Branch not merged or other issue, leave it
1640
1640
  }
1641
1641
  if (wtPruned > 0) {
1642
- console.log(` ✓ Pruned ${wtPruned} merged worktree(s) from _worktrees/`);
1642
+ console.log(` ✓ Pruned ${wtPruned} merged worktree(s) from .worktrees/`);
1643
1643
  }
1644
1644
  }
1645
1645
  } catch {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wipcomputer/wip-release",
3
- "version": "1.9.55",
3
+ "version": "1.9.57",
4
4
  "type": "module",
5
5
  "description": "One-command release pipeline. Bumps version, updates changelog + SKILL.md, publishes to npm + GitHub.",
6
6
  "main": "core.mjs",