To release Brisk there are a few steps you need to take:
- Update the Version and Build in the
Info.plist
to the version from the new release - Change the
master
section in theCHANGELOG.md
to match the new release version. Don't add a new section for master changes yet - Commit both those changes on master with the message
Bump version $VERSION
- Tag the new commit with the version number of the release. Push the commit and the tag
- Archive Brisk in Xcode
- Create a
tar.gz
from the archivedBrisk.app
withtar -pvczf Brisk.app.tar.gz Brisk.app
- Copy the output of
shasum -a 256 Brisk.app Brisk.app.tar.gz
for later - Draft a release on GitHub with the newly pushed tag
- Title the release based on whatever feature / bugfix is "most important"
- Fill the description with the contents of the changelog (you might need to join lines in the markdown to get it to render on a single line)
- At the bottom of the description include the output of
shasum
from the previous step in triple backticks - Upload
Brisk.app.tar.gz
to the release - Save / create the release
- In the
appcast.xml
, duplicate the top item, and paste it above - Change the title, enclosure url,
sparkle:version
,releaseNotesLink
url to the new version - Get the size of the new
Brisk.app.tar.gz
withstat --printf="%s" Brisk.app.tar.gz
. Replacelength
with that - Sign the release with
path/to/sparkle/sign_update Brisk.app.tar.gz path/to/dsa_priv.pem
. Replace thesparkle:dsaSignature
with that - Update the
pubDate
with the output ofdate +"%a, %d %b %G %H:%M:%S %z"
- Commit the appcast changes with the message
Update appcast for $VERSION
. Push the commit (note GitHub takes some time to propagate these changes) - Add a new
master
section in theCHANGELOG.md
for future changes and commit it - Submit a PR to update the Brisk formula in homebrew-cask
- Celebrate!