@anolilab/multi-semantic-release 2.0.7 → 2.0.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## @anolilab/multi-semantic-release [2.0.9](https://github.com/anolilab/semantic-release/compare/@anolilab/multi-semantic-release@2.0.8...@anolilab/multi-semantic-release@2.0.9) (2025-11-10)
2
+
3
+ ### Bug Fixes
4
+
5
+ * run commit filtering from git root ([#230](https://github.com/anolilab/semantic-release/issues/230)) ([ee0b3d8](https://github.com/anolilab/semantic-release/commit/ee0b3d8211a364eecfa0fd29bcf1947c1e663345))
6
+
7
+ ## @anolilab/multi-semantic-release [2.0.8](https://github.com/anolilab/semantic-release/compare/@anolilab/multi-semantic-release@2.0.7...@anolilab/multi-semantic-release@2.0.8) (2025-11-01)
8
+
9
+ ### Bug Fixes
10
+
11
+ * update package dependencies and configurations ([d94ebd8](https://github.com/anolilab/semantic-release/commit/d94ebd8869c34106aa0c11beb0f7410bbc86367f))
12
+
13
+
14
+ ### Dependencies
15
+
16
+ * **@anolilab/semantic-release-clean-package-json:** upgraded to 3.0.5
17
+ * **@anolilab/semantic-release-pnpm:** upgraded to 2.0.5
18
+
1
19
  ## @anolilab/multi-semantic-release [2.0.7](https://github.com/anolilab/semantic-release/compare/@anolilab/multi-semantic-release@2.0.6...@anolilab/multi-semantic-release@2.0.7) (2025-11-01)
2
20
 
3
21
  ### Bug Fixes
@@ -48,6 +48,7 @@ async function getCommitsFiltered(cwd, direction, lastRelease, nextRelease, firs
48
48
 
49
49
  // Get top-level Git directory as it might be higher up the tree than cwd.
50
50
  const root = await execa("git", ["rev-parse", "--show-toplevel"], { cwd });
51
+ const gitRoot = cleanPath(root.stdout);
51
52
 
52
53
  // Add correct fields to gitLogParser.
53
54
  Object.assign(gitLogParser.fields, {
@@ -58,11 +59,11 @@ async function getCommitsFiltered(cwd, direction, lastRelease, nextRelease, firs
58
59
  });
59
60
 
60
61
  // Use git-log-parser to get the commits.
61
- const relpath = relative(root.stdout, direction);
62
+ const relpath = relative(gitRoot, direction);
62
63
  const firstParentBranchFilter = firstParentBranch ? ["--first-parent", firstParentBranch] : [];
63
64
  const range = (lastRelease ? `${lastRelease}..` : "") + (nextRelease || "HEAD");
64
65
  const gitLogFilterQuery = [...firstParentBranchFilter, range, "--", relpath];
65
- const stream = gitLogParser.parse({ _: gitLogFilterQuery }, { cwd, env: process.env });
66
+ const stream = gitLogParser.parse({ _: gitLogFilterQuery }, { cwd: gitRoot, env: process.env });
66
67
 
67
68
  const commits = await streamToArray(stream);
68
69
 
@@ -306,7 +306,7 @@ export const resolveNextVersion = (currentVersion, nextVersion, bumpStrategy = "
306
306
  const separator = ".";
307
307
  const nextChunks = nextVersion.split(separator);
308
308
  const currentChunks = currentVersion.split(separator);
309
- const resolvedChunks = currentChunks.map((chunk, index) => (nextChunks[index] ? chunk.replace(/\d+/u, nextChunks[index]) : chunk));
309
+ const resolvedChunks = currentChunks.map((chunk, index) => nextChunks[index] ? chunk.replace(/\d+/u, nextChunks[index]) : chunk);
310
310
 
311
311
  return resolvedChunks.join(separator);
312
312
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anolilab/multi-semantic-release",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "description": "A multi semantic release tool for a monorepo.",
5
5
  "repository": {
6
6
  "type": "git",