chore: add changelog cleanup workflow and remove Claude attribution
This commit is contained in:
parent
a0a0b1ba6c
commit
0c10ccd149
|
|
@ -58,3 +58,17 @@ jobs:
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
run: npm run release
|
run: npm run release
|
||||||
|
- name: Clean changelog formatting
|
||||||
|
if: github.event_name == 'push'
|
||||||
|
run: |
|
||||||
|
git config user.name "github-actions[bot]"
|
||||||
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
|
# Remove any Claude Code attribution from changelog
|
||||||
|
sed -i '/🤖 Generated with \[Claude Code\]/,+2d' CHANGELOG.md || true
|
||||||
|
# Format and commit if changes exist
|
||||||
|
npm run format
|
||||||
|
if ! git diff --quiet CHANGELOG.md; then
|
||||||
|
git add CHANGELOG.md
|
||||||
|
git commit -m "chore: clean changelog formatting [skip ci]"
|
||||||
|
git push
|
||||||
|
fi
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,13 @@
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"@semantic-release/commit-analyzer",
|
"@semantic-release/commit-analyzer",
|
||||||
"@semantic-release/release-notes-generator",
|
"@semantic-release/release-notes-generator",
|
||||||
"@semantic-release/changelog",
|
[
|
||||||
|
"@semantic-release/changelog",
|
||||||
|
{
|
||||||
|
"changelogFile": "CHANGELOG.md",
|
||||||
|
"changelogTitle": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
"@semantic-release/npm",
|
"@semantic-release/npm",
|
||||||
"./tools/semantic-release-sync-installer.js",
|
"./tools/semantic-release-sync-installer.js",
|
||||||
"@semantic-release/github"
|
"@semantic-release/github"
|
||||||
|
|
|
||||||
|
|
@ -574,10 +574,6 @@
|
||||||
|
|
||||||
- Manual version bumping via npm scripts is now disabled. Use conventional commits for automated releases.
|
- Manual version bumping via npm scripts is now disabled. Use conventional commits for automated releases.
|
||||||
|
|
||||||
🤖 Generated with [Claude Code](https://claude.ai/code)
|
|
||||||
|
|
||||||
Co-Authored-By: Claude <noreply@anthropic.com>
|
|
||||||
|
|
||||||
# [4.2.0](https://github.com/bmadcode/BMAD-METHOD/compare/v4.1.0...v4.2.0) (2025-06-15)
|
# [4.2.0](https://github.com/bmadcode/BMAD-METHOD/compare/v4.1.0...v4.2.0) (2025-06-15)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
@ -686,4 +682,5 @@ Co-Authored-By: Claude <noreply@anthropic.com>
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
- add versioning and release automation ([0ea5e50](https://github.com/bmadcode/BMAD-METHOD/commit/0ea5e50aa7ace5946d0100c180dd4c0da3e2fd8c))
|
- add versioning and release automation ([0ea5e50](https://github.com/bmadcode/BMAD-METHOD/commit/0ea5e50aa7ace5946d0100c180dd4c0da3e2fd8c))
|
||||||
|
|
||||||
# Promote to stable release 5.0.0
|
# Promote to stable release 5.0.0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue