Commit e59543d
fix!: switch semantic-release to conventionalcommits preset (#96)
* fix!: switch semantic-release to conventionalcommits preset
The default angular preset doesn't recognise the `!` syntax for
breaking changes (its header regex is `^(\w*)(?:\((.*)\))?: (.*)$`,
which doesn't allow `!`). As a result the `feat!:` commit from #95 was
classified as "should not trigger a release" and the resulting
prerelease was tagged v2.18.1-beta.1 instead of v3.0.0-beta.1.
Switch both `@semantic-release/commit-analyzer` and
`@semantic-release/release-notes-generator` to the `conventionalcommits`
preset, which parses `feat!:` / `fix!:` and emits a proper
BREAKING CHANGE note. Add `conventional-changelog-conventionalcommits`
as a dev dependency so semantic-release can load the preset.
BREAKING CHANGE: `tigris buckets set-ttl`, `tigris buckets set-transition`
and the `tigris forks` command group were removed in #95. Use
`tigris buckets lifecycle list/create/edit` for lifecycle rules and
`tigris buckets create --fork-of` / `tigris buckets list --forks-of`
for forks instead. Each removed entry now exits with a redirect
message pointing at the replacement.
BREAKING CHANGE: The `--region` and `--consistency` flags on
`tigris mk`, `tigris buckets create` and `tigris buckets set` were
removed. Use `--locations` instead. The flags now exit with a
redirect message.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* fix: hoist breaking-change rule above type-specific releaseRules
Custom releaseRules are matched before the preset defaults; the
existing `{ type: "refactor", release: "patch" }` rule would shadow
the preset's `{ breaking: true, release: "major" }` for any
`refactor!:` commit (or future custom type rules covering a type that
also carries a BREAKING CHANGE note). Add an explicit breaking rule at
the top so breaking-change detection always wins regardless of type.
Documented gotcha:
semantic-release/commit-analyzer#413
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 26dfed6 commit e59543d
2 files changed
Lines changed: 13 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
79 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
80 | 85 | | |
81 | 86 | | |
82 | 87 | | |
83 | 88 | | |
84 | 89 | | |
85 | 90 | | |
86 | 91 | | |
87 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
88 | 98 | | |
89 | 99 | | |
90 | 100 | | |
| |||
105 | 115 | | |
106 | 116 | | |
107 | 117 | | |
| 118 | + | |
108 | 119 | | |
109 | 120 | | |
110 | 121 | | |
| |||
0 commit comments