Commit 3c62f1e
committed
feat: add sandbox mode, pre-flight checks, and rollback to release.sh
- Add --sandbox flag to test releases in isolated temp directory
- Add --force flag to skip confirmations (for CI automation)
- Add --json flag for machine-readable output
- Add --verbose flag for detailed logging
- Add --rollback flag to restore from backup
- Add pre-flight checks (gh auth, git clean, required files, etc.)
- Add automatic backup/rollback on failure
- Add proper exit codes (0=success, 1=validation, 2=execution)
- Redirect all logs to stderr, only JSON to stdout
- Add tests for new functionality1 parent 2468898 commit 3c62f1e
File tree
4 files changed
+764
-33
lines changed- tests/unit
- fixtures/release
4 files changed
+764
-33
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
0 commit comments