Skip to content

Commit 3c62f1e

Browse files
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 functionality
1 parent 2468898 commit 3c62f1e

File tree

4 files changed

+764
-33
lines changed

4 files changed

+764
-33
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ report.html
2020
local/
2121
tmp/
2222
dev.log
23+
.release-state/
2324

2425
# ai
2526
.tasks/

0 commit comments

Comments
 (0)