diff --git a/CHANGELOG.md b/CHANGELOG.md index ee29c094..f22290ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [5.2.0](https://github.com/kaitranntt/ccs/compare/v5.1.1...v5.2.0) (2025-12-01) + + +### Features + +* **release:** trigger v5.2.0 release ([7b65374](https://github.com/kaitranntt/ccs/commit/7b65374100196562a4f83705c8626fc7e6bb35d6)) + ## [5.1.1](https://github.com/kaitranntt/ccs/compare/v5.1.0...v5.1.1) (2025-12-01) diff --git a/CLAUDE.md b/CLAUDE.md index a757e455..3935f770 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -208,10 +208,11 @@ git push -u origin feat/my-feature gh pr create --base beta --title "feat(scope): add new feature" # → Merge triggers npm @beta release for testing -# 5. After testing in beta, promote to main +# 5. After testing in beta, promote to main (MUST use feat: or fix: prefix!) git checkout beta -gh pr create --base main --title "chore: promote beta to main" +gh pr create --base main --title "feat(release): promote beta to main" # → Merge triggers npm @latest release +# WARNING: Using "chore:" will NOT trigger a release! # 6. Clean up git checkout beta @@ -264,6 +265,7 @@ git push origin beta 4. **`beta` must always be up-to-date with `main`** 5. **Delete feature branches after merge** 6. **Test in `@beta` before promoting to `@latest`** +7. **beta→main PRs MUST use `feat:` or `fix:` prefix** - `chore:` won't trigger npm release ## Automated Releases (DO NOT MANUALLY TAG) diff --git a/VERSION b/VERSION index ac14c3df..91ff5727 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5.1.1 +5.2.0 diff --git a/installers/install.ps1 b/installers/install.ps1 index e44c3d95..5ffc1688 100644 --- a/installers/install.ps1 +++ b/installers/install.ps1 @@ -83,7 +83,7 @@ $InstallMethod = if ($ScriptDir -and ((Test-Path "$ScriptDir\lib\ccs.ps1") -or ( # IMPORTANT: Update this version when releasing new versions! # This hardcoded version is used for standalone installations (irm | iex) # For git installations, VERSION file is read if available -$CcsVersion = "5.1.1" +$CcsVersion = "5.2.0" # Try to read VERSION file for git installations if ($ScriptDir) { diff --git a/installers/install.sh b/installers/install.sh index 54f56437..a2682cda 100755 --- a/installers/install.sh +++ b/installers/install.sh @@ -84,7 +84,7 @@ fi # IMPORTANT: Update this version when releasing new versions! # This hardcoded version is used for standalone installations (curl | bash) # For git installations, VERSION file is read if available -CCS_VERSION="5.1.1" +CCS_VERSION="5.2.0" # Try to read VERSION file for git installations if [[ -f "$SCRIPT_DIR/VERSION" ]]; then diff --git a/package.json b/package.json index 8fe80e67..c749cb3a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kaitranntt/ccs", - "version": "5.1.1", + "version": "5.2.0", "description": "Claude Code Switch - Instant profile switching between Claude Sonnet 4.5 and GLM 4.6", "keywords": [ "cli",