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
5. **PR REVIEW**: Version bump PR created and enhanced correctly?
304
+
4. **PR REVIEW**: Version bump PR created with standardized release notes?
308
305
309
306
### Step 10: Critical Release PR Verification
310
307
@@ -592,55 +589,46 @@ The command implements multiple quality gates:
592
589
- Draft release status
593
590
- Python package specs require that prereleases use alpha/beta/rc as the preid
594
591
595
-
## Common Issues and Solutions
596
-
597
-
### Issue: Pre-release Version Confusion
598
-
**Problem**: Not sure whether to promote pre-release or create new version
599
-
**Solution**:
600
-
- 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.
601
-
602
-
### Issue: Wrong Commit Count
603
-
**Problem**: Changelog includes commits from other branches
604
-
**Solution**: Always use `--first-parent` flag with git log
605
-
606
-
**Update**: Sometimes update-locales doesn't add [skip ci] - always verify!
607
-
608
-
### Issue: Missing PRs in Changelog
609
-
**Problem**: PR was merged to different branch
610
-
**Solution**: Verify PR merge target with:
611
-
```bash
612
-
gh pr view ${PR_NUMBER} --json baseRefName
613
-
```
614
-
615
-
### Issue: Incomplete Dependency Changelog
616
-
**Problem**: Litegraph or other dependency updates only show version bump, not actual changes
617
-
**Solution**: The command now automatically:
618
-
- Detects litegraph version changes between releases
619
-
- Clones the litegraph repository temporarily
620
-
- Extracts and categorizes changes between versions
621
-
- Includes detailed litegraph changelog in release notes
622
-
- Cleans up temporary files after analysis
623
-
624
-
### Issue: Release Failed Due to [skip ci]
625
-
**Problem**: Release workflow didn't trigger after merge
626
-
**Prevention**: Always avoid this scenario
627
-
- Ensure that `[skip ci]` or similar flags are NOT in the `HEAD` commit message of the PR
628
-
- Push a new, empty commit to the PR
629
-
- Always double-check this immediately before merging
630
-
631
-
**Recovery Strategy**:
632
-
1. Revert version in a new PR (e.g., 1.24.0 → 1.24.0-1)
633
-
2. Merge the revert PR
634
-
3. Run version bump workflow again
635
-
4. This creates a fresh PR without [skip ci]
636
-
Benefits: Cleaner than creating extra version numbers
637
-
638
-
## Key Learnings & Notes
639
-
640
-
1.**PR Author**: Version bump PRs are created by `comfy-pr-bot`, not `github-actions`
641
-
2.**Workflow Speed**: Version bump workflow typically completes in ~20-30 seconds
642
-
3.**Update-locales Behavior**: Inconsistent - sometimes adds [skip ci], sometimes doesn't
643
-
4.**Recovery Options**: Reverting version is cleaner than creating extra versions
644
-
5.**Dependency Tracking**: Command now automatically includes litegraph and major dependency changes in changelogs
645
-
6.**Litegraph Integration**: Temporary cloning of litegraph repo provides detailed change analysis between versions
592
+
## Critical Implementation Notes
593
+
594
+
When executing this release process, pay attention to these key aspects:
595
+
596
+
### Version Handling
597
+
- For pre-release versions (e.g., 1.24.0-rc.1), the next stable release should be the same version without the suffix (1.24.0)
598
+
- Never skip version numbers - follow semantic versioning strictly
599
+
600
+
### Commit History Analysis
601
+
-**ALWAYS** use `--first-parent` flag with git log to avoid including commits from merged feature branches
602
+
- Verify PR merge targets before including them in changelogs:
603
+
```bash
604
+
gh pr view ${PR_NUMBER} --json baseRefName
605
+
```
606
+
607
+
### Release Workflow Triggers
608
+
- The "Release" label on the PR is **CRITICAL** - without it, PyPI/npm publishing won't occur
609
+
- Check for `[skip ci]` in commit messages before merging - this blocks the release workflow
610
+
- If you encounter `[skip ci]`, push an empty commit to override it:
0 commit comments