mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 04:18:05 +00:00
Merge branch 'main' into beta
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
|
||||
+1
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user