mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-13 18:15:23 +00:00
docs: add rule for beta to main pr prefix requirement
- update example to use feat(release): instead of chore: - add warning that chore: won't trigger npm release - add rule #7: beta to main prs must use feat: or fix:
This commit is contained in:
1 parent
d8e7d772a9
commit
773225d180
1 file changed
+4
-2
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user