@@ -4,7 +4,7 @@ This document outlines the complete process for publishing new versions of Deskt
44
55## 🚀 Automated Release (Recommended)
66
7- We now have an automated release script that handles the entire process!
7+ We now have an automated release script that handles the entire process with ** automatic state tracking and resume capability ** !
88
99``` bash
1010# Patch release (0.2.16 → 0.2.17) - Bug fixes, small improvements
@@ -18,9 +18,31 @@ npm run release:major
1818
1919# Test without publishing
2020npm run release:dry
21+
22+ # Clear saved state and start fresh
23+ node scripts/publish-release.cjs --clear-state
2124```
2225
23- ** See [ scripts/README-RELEASE.md] ( scripts/README-RELEASE.md ) for full documentation of the automated release process.**
26+ ### ✨ Smart State Tracking
27+
28+ The script automatically tracks completed steps and ** resumes from failures** :
29+
30+ 1 . ** Automatic Resume** : If any step fails, just run the script again - it will skip completed steps and continue from where it failed
31+ 2 . ** No Manual Flags** : No need to remember which ` --skip-* ` flags to use
32+ 3 . ** Clear State** : Use ` --clear-state ` to reset and start from the beginning
33+ 4 . ** Transparent** : Shows which steps were already completed when resuming
34+
35+ ** Example workflow:**
36+ ``` bash
37+ # Start release - tests fail
38+ npm run release
39+ # ❌ Step 2/6 failed: Tests failed
40+
41+ # Fix the tests, then just run again
42+ npm run release
43+ # ✓ Step 1/6: Version bump already completed
44+ # ✓ Step 2/6: Running tests... (continues from here)
45+ ```
2446
2547The script automatically handles:
2648- ✅ Version bumping
@@ -30,6 +52,7 @@ The script automatically handles:
3052- ✅ NPM publishing
3153- ✅ MCP Registry publishing
3254- ✅ Publication verification
55+ - ✨ ** State tracking and automatic resume**
3356
3457---
3558
0 commit comments