Skip to content

Commit c36e201

Browse files
committed
fix: list of tokens replaced with one
1 parent a1fbc99 commit c36e201

File tree

2 files changed

+20
-24
lines changed

2 files changed

+20
-24
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,12 @@ jobs:
5555
uses: anothrNick/[email protected]
5656
env:
5757
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58-
# DEFAULT_BUMP is used when no conventional commit tokens are found, or for manual workflow_dispatch override
58+
# DEFAULT_BUMP is used when there are no MAJOR_STRING_TOKEN or MINOR_STRING_TOKEN,
59+
# or for manual workflow_dispatch override
5960
DEFAULT_BUMP: ${{ github.event.inputs.version_bump || 'patch'}}
6061
WITH_V: true
61-
MAJOR_STRING_TOKEN: "BREAKING CHANGE:,breaking change:,Breaking Change:"
62-
MINOR_STRING_TOKEN: "feat:,Feat:,FEAT:"
63-
PATCH_STRING_TOKEN: "fix:,Fix:,FIX:"
64-
NONE_STRING_TOKEN: "chore:,docs:,test:,ci:,refactor:,style:,build:,Chore:,Docs:,Test:,CI:,Refactor:,Style:,Build:"
62+
MAJOR_STRING_TOKEN: "BREAKING CHANGE:"
63+
MINOR_STRING_TOKEN: "feat:"
6564
PRERELEASE: false
6665

6766
- name: Export Version Variable

README.md

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -143,19 +143,18 @@ When changes are merged into the `main` branch, a new release is automatically t
143143

144144
**Version Bump Rules:**
145145
- `feat:` - New feature → **Minor version bump** (v1.2.0 → v1.3.0)
146-
- `fix:` - Bug fix → **Patch version bump** (v1.2.0 → v1.2.1)
147146
- `BREAKING CHANGE:` - Breaking changes → **Major version bump** (v1.2.0 → v2.0.0)
148-
-
149-
150-
**No Release Triggered:**
151-
- `docs:` - Documentation changes
152-
- `chore:` - Maintenance tasks (dependencies, build config, tooling)
153-
- `refactor:` - Code restructuring without behavior changes
154-
- `test:` - Test updates
155-
- `style:` - Formatting and whitespace
156-
- `ci:` - CI/CD configuration changes
157-
- `perf:` - Performance improvements
158-
- `build:` - Dependabot commits
147+
- Patch version bump (v1.2.0 → v1.2.1)
148+
- `fix:` - Bug fix
149+
- `docs:` - Documentation changes
150+
- `chore:` - Maintenance tasks (dependencies, build config, tooling)
151+
- `refactor:` - Code restructuring without behavior changes
152+
- `test:` - Test updates
153+
- `style:` - Formatting and whitespace
154+
- `ci:` - CI/CD configuration changes
155+
- `perf:` - Performance improvements
156+
- `build:` - Dependabot commits
157+
- `no conventional commits` - text without specifying any of above
159158

160159
### Manual Release
161160

@@ -164,20 +163,18 @@ For manual releases (e.g., major version updates or hotfixes), use the GitHub Ac
164163
### Commit Message Examples
165164

166165
```bash
167-
# Patch release (v1.2.3 → v1.2.4)
168-
git commit -m "fix: resolve upload timeout issue"
169-
170-
# Minor release (v1.2.3 → v1.3.0)
171-
git commit -m "feat: add retry logic for failed uploads"
172-
173166
# Major release (v1.2.3 → v2.0.0)
174167
git commit -m "feat: redesign upload API
175168
176169
BREAKING CHANGE: Upload() signature changed to return structured error"
177170

178-
# No release
171+
# Minor release (v1.2.3 → v1.3.0)
172+
git commit -m "feat: add retry logic for failed uploads"
173+
174+
# Patch release (v1.2.3 → v1.2.4)
179175
git commit -m "docs: update Azure Blob Storage usage examples"
180176
git commit -m "chore: upgrade dependencies"
177+
git commit -m "class x moved to another folder"
181178
```
182179

183180
## Notes

0 commit comments

Comments
 (0)