Skip to content

Commit c312e24

Browse files
Arc-E-Tectclaude
andcommitted
fix(sedr-library): give module its own semantic-release tag namespace
Completes the fix started for hexagonal-spring-rules (#67). sedr-library used the unscoped "v${version}" tagFormat, which hexagonal-spring-rules also fell back to by default, so the two projects' tags collided and their version counters became interleaved. Scopes sedr-library to "sedr-library-v${version}", matching the convention used by api-detector-core, geo-tracker-lens-pack, and now hexagonal-spring-rules. build.gradle's local-dev version resolver already expected this exact prefix, so no other changes are needed. A sedr-library-v0.5.2 tag is seeded on the commit that was the last real release under the old shared scheme, so numbering continues from there instead of restarting at 0.0.1. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 6656c7f commit c312e24

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

sedr-library/release.config.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@
44

55
module.exports = {
66
branches: ["main"],
7-
tagFormat: "v${version}",
7+
// Scoped to this module's own tag namespace so its version history is independent of the
8+
// other modules in this repo. Previously this was the unscoped "v${version}" format, which
9+
// hexagonal-spring-rules also fell back to by default, so the two projects' tags collided
10+
// and their version counters became interleaved. build.gradle's local-dev version resolver
11+
// already expected a "sedr-library-v" prefix, so this now matches. A
12+
// "sedr-library-v0.5.2" tag is seeded on the commit that was the last real release under the
13+
// old shared scheme, so numbering continues from there instead of restarting.
14+
tagFormat: "sedr-library-v${version}",
815
plugins: [
916
["@semantic-release/commit-analyzer", {
1017
preset: 'angular',

0 commit comments

Comments
 (0)