Follow these steps to publish a new version of AppleSimUtils:
- Make sure you can push to
masterdirectly — the release script currently depends on this. - Ensure your feature is committed, tested, and working.
./releaseVersion.sh <YOUR_VERSION>
# e.g.
./releaseVersion.sh 0.9.12In the interim, it will open your default Markdown editor (e.g., Xcode) with an empty release notes document for you to fill out. Add your release notes, then QUIT the app completely (closing the window may not be enough).
The script will attempt to:
- Commit and tag the release in AppleSimulatorUtils
- Push a formula update to
wix-incubator/homebrew-brew
Warning
If the Homebrew formula update fails (e.g., wrong hash, bad URL), it might leave a broken or partial release.
-
You may need to unblock it by committing an empty change:
git commit --allow-empty -m "Trigger retry for release <version>" -
Then re-run the release script.
Important
Known Bug! The release script does not update Homebrew hashes correctly on the first try, so you MUST execute this step immediately afterwards.
After the GitHub release is live (e.g., v0.9.12), look under Assets for SHA256 hashes:
AppleSimulatorUtils-0.9.12.tar.gz
sha256:4d6d02...
...
Edit the formula here:
👉 applesimutils.rb
Update the sha256 fields with the correct values from the GitHub release.
brew update
brew install applesimutils
applesimutils --versionEnsure the installed binary matches your new version and works correctly.