You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`minor --dry-run` - Simulate release without executing
17
17
18
-
If no arguments provided, the command will analyze recent changes and recommend the appropriate version type.
18
+
If no arguments provided, the command will always perform prerelease if the current version is prerelease, or patch in other cases. This command will never perform minor or major releases without explicit direction.
- For pre-release → stable promotion, must manually update version
132
-
133
-
**Manual Override Options:**
134
-
- If arguments provided, validate against detected changes
135
-
-**CONFIRMATION REQUIRED**: Version type correct for these changes?
136
-
-**WARNING**: If manual override conflicts with detected breaking changes
114
+
### Step 3: Version Preview
137
115
138
116
**Version Preview:**
139
117
- Current: `${CURRENT_VERSION}`
@@ -179,7 +157,6 @@ Based on analysis, determine version type:
179
157
180
158
### Step 6: Breaking Change Analysis
181
159
182
-
For minor/major releases:
183
160
1. Analyze API changes in:
184
161
- Public TypeScript interfaces
185
162
- Extension APIs
@@ -256,7 +233,7 @@ gh workflow run version-bump.yaml -f version_type=${VERSION_TYPE}
256
233
echo"Workflow triggered. Waiting for PR creation..."
257
234
```
258
235
259
-
**For pre-release → stable promotion:**
236
+
**For releasing a stable version:**
260
237
1. Must manually create branch and update version:
261
238
```bash
262
239
git checkout -b version-bump-${NEW_VERSION}
@@ -603,32 +580,21 @@ The command implements multiple quality gates:
603
580
```
604
581
- Creates alpha/beta/rc versions
605
582
- Draft release status
583
+
- Python package specs require that prereleases use alpha/beta/rc as the preid
606
584
607
585
## Common Issues and Solutions
608
586
609
587
### Issue: Pre-release Version Confusion
610
588
**Problem**: Not sure whether to promote pre-release or create new version
611
589
**Solution**:
612
-
- If no new commits since pre-release: promote to stable
613
-
- If new commits exist: consider new minor version
590
+
- Follow semver standards: a prerelease version is followed by a normal release. It should have the same major, minor, and patch versions as the prerelease.
614
591
615
592
### Issue: Wrong Commit Count
616
593
**Problem**: Changelog includes commits from other branches
617
594
**Solution**: Always use `--first-parent` flag with git log
618
595
619
-
### Issue: Release Workflow Doesn't Trigger
620
-
**Problem**: update-locales adds [skip ci] to PR
621
-
**Solution**:
622
-
1. Create patch release to trigger workflow
623
-
2. Alternative: Revert version and re-run version bump workflow
624
-
3. Fix update-locales to skip [skip ci] for Release PRs
625
-
626
596
**Update**: Sometimes update-locales doesn't add [skip ci] - always verify!
627
597
628
-
### Issue: Version Workflow Limitations
629
-
**Problem**: Cannot use "stable" as version_type
630
-
**Solution**: Manually create PR for pre-release → stable promotion
0 commit comments