Skip to content

Commit 21925d7

Browse files
committed
fix: remove backtick-exclamation pattern that triggers permission check
1 parent 6baeca8 commit 21925d7

3 files changed

Lines changed: 9 additions & 13 deletions

File tree

commands/releaserator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Determine version bump type by analyzing commits since last release using Conven
3434

3535
- **MAJOR bump** (X.0.0): Any commit with:
3636
- `BREAKING CHANGE:` in commit body/footer
37-
- `!` before `:` (e.g., `feat!: change API`)
37+
- Exclamation mark before colon (e.g., `feat!: change API`)
3838

3939
- **MINOR bump** (x.X.0): Any `feat:` commits (new features)
4040

skills/releaserator/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Releaserator follows **Semantic Versioning** based on **Conventional Commits**:
5757

5858
**MAJOR bump** (X.0.0) - Breaking changes:
5959
- Commits with `BREAKING CHANGE:` in body/footer
60-
- Commits with `!` before `:` (e.g., `feat!: new API`)
60+
- Commits with exclamation mark before colon (e.g., `feat!: new API`)
6161

6262
**MINOR bump** (x.X.0) - New features:
6363
- Commits starting with `feat:`

skills/releaserator/SKILL.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ For each commit line, extract:
8888
- **Commit hash** (first 7 characters)
8989
- **Commit type** (feat, fix, docs, refactor, perf, chore, test, ci, build, style)
9090
- **Scope** (optional, in parentheses)
91-
- **Breaking change indicator** (`!` before `:`)
92-
- **Description** (after `:`)
93-
- **PR reference** (look for `(#123)` pattern)
91+
- **Breaking change indicator** (exclamation mark before colon)
92+
- **Description** (after colon)
93+
- **PR reference** (look for PR number pattern)
9494

9595
**Example parsing**:
9696
```
@@ -128,8 +128,8 @@ commits = [
128128
**Rules** (Conventional Commits):
129129

130130
1. **MAJOR bump** if ANY commit has:
131-
- `BREAKING CHANGE:` in commit body/footer, OR
132-
- `!` before `:` (e.g., `feat!:`, `fix!:`)
131+
- BREAKING CHANGE in commit body/footer, OR
132+
- Exclamation mark before colon (e.g., feat!, fix!)
133133

134134
2. **MINOR bump** if (and no MAJOR):
135135
- ANY `feat:` commits exist
@@ -192,7 +192,7 @@ If no PR reference, omit PR link. Always include commit hash link.
192192

193193
**Breaking changes**:
194194

195-
Collect all breaking changes (commits with `!` or `BREAKING CHANGE:`) and add to the top of the relevant section with ⚠️:
195+
Collect all breaking changes (commits with exclamation mark or BREAKING CHANGE) and add to the top of the relevant section with ⚠️:
196196

197197
```markdown
198198
- ⚠️ **BREAKING**: Description of breaking change
@@ -352,17 +352,13 @@ git push origin vNEW_VERSION
352352
**Create GitHub release**:
353353

354354
```bash
355-
gh release create vNEW_VERSION \
356-
--title "vNEW_VERSION" \
357-
--notes-file /tmp/release-notes-NEW_VERSION.md \
358-
--generate-notes
355+
gh release create vNEW_VERSION --title "vNEW_VERSION" --notes-file /tmp/release-notes-NEW_VERSION.md
359356
```
360357

361358
**Flags explained**:
362359
- `vNEW_VERSION`: Tag name (must already exist from step 9)
363360
- `--title`: Release title shown on GitHub
364361
- `--notes-file`: Release body (our changelog entry + links)
365-
- `--generate-notes`: GitHub auto-generates additional notes from PRs
366362

367363
**Capture release URL**:
368364

0 commit comments

Comments
 (0)