Skip to content

1.0.54

Choose a tag to compare

@morapelker morapelker released this 05 Mar 10:43
· 2781 commits to main since this release

What's Changed

Prevent macOS sleep during release builds (#101)

  • 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