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
Prevents macOS from sleeping during release and canary release builds by using sudo pmset -a disablesleep 1, allowing the MacBook lid to be safely closed while builds run
Extends sleep prevention to trigger on both --shutdown and --sleep flags (previously sudo was only acquired for --shutdown)
Ensures cleanup on exit: system sleep is always re-enabled via both an early trap EXIT handler and the on_exit() function, preventing the machine from being left in a no-sleep state after script completion or failure
Moves SUDO_KEEPALIVE_PID cleanup into the on_exit() function alongside the sleep re-enable logic for better organization
Files changed
scripts/release-canary.sh — added sleep disable/re-enable around build lifecycle
scripts/release.sh — same changes mirrored for the stable release script