- Edit the code on Xcode
- Run it
- Turn on 2 app permissions again by double toggling the checkboxes
- Rerun it
- Check the result
- Switch
masterbranch - In Xcode, update the version
- Edit
ChangeLog.md - Commit and push
masterbransh - Add a tag, and push it
- In Xcode, export as a Mac Application
- Archive the Mac Application to a zip file
zip -ry HotSwitch.zip HotSwitch.app(Edit the paths. You need specify a relative path for HotSwitch.app)- Check the content of zip file
- Switch
masterbranch - Copy the update's DSA signature
./Sparkle/bin/sign_update.sh ~/zip_directory/HotSwitch.zip ~/key_directory/dsa_priv.pem | pbcopy(Edit the paths)
- Switch
gh-pagebranch - Edit
./release/appcast.xmlby using the signature - Replace
./release/zip/HotSwitch.zipto new zip file - Commit and push
gh-pagebranch - Try self upgrading and finish