From 0c10ccd14906458aa83361757c95abe262b8377a Mon Sep 17 00:00:00 2001 From: Murat Ozcan Date: Sat, 16 Aug 2025 15:52:35 -0500 Subject: [PATCH] chore: add changelog cleanup workflow and remove Claude attribution --- .github/workflows/release.yaml | 14 ++++++++++++++ .releaserc.json | 8 +++++++- CHANGELOG.md | 5 +---- 3 files changed, 22 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b89e7ea7..e159d4c6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -58,3 +58,17 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} 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 diff --git a/.releaserc.json b/.releaserc.json index d22c0840..a9e3cc01 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -13,7 +13,13 @@ "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", - "@semantic-release/changelog", + [ + "@semantic-release/changelog", + { + "changelogFile": "CHANGELOG.md", + "changelogTitle": "" + } + ], "@semantic-release/npm", "./tools/semantic-release-sync-installer.js", "@semantic-release/github" diff --git a/CHANGELOG.md b/CHANGELOG.md index a25450f3..687a6e90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -574,10 +574,6 @@ - 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 - # [4.2.0](https://github.com/bmadcode/BMAD-METHOD/compare/v4.1.0...v4.2.0) (2025-06-15) ### Bug Fixes @@ -686,4 +682,5 @@ Co-Authored-By: Claude ### Features - add versioning and release automation ([0ea5e50](https://github.com/bmadcode/BMAD-METHOD/commit/0ea5e50aa7ace5946d0100c180dd4c0da3e2fd8c)) + # Promote to stable release 5.0.0