1.6 KiB
1.6 KiB
Releasing
Release notes source
- GitHub Release notes come from
CHANGELOG.mdfor the matching version section (## X.Y.Z - YYYY-MM-DD). - Keep
## Unreleasedat the top (empty is fine).
Steps
- Update
CHANGELOG.mdand version- Move entries from
Unreleasedinto a new## X.Y.Z - YYYY-MM-DDsection. - Credit contributors (e.g.
thanks @user). - Update
version.envtoX.Y.Z. - Run
scripts/generate-version.sh(also refreshesSources/imsg/Resources/Info.plist).
- Move entries from
- Ensure CI is green on
mainmake lintmake testmake format(optional, if formatting changes are expected)
- Build, sign, and notarize
- Requires
APP_STORE_CONNECT_API_KEY_P8,APP_STORE_CONNECT_KEY_ID,APP_STORE_CONNECT_ISSUER_ID. scripts/sign-and-notarize.sh(outputs/tmp/imsg-macos.zipby default)- Verify the zip contains required SwiftPM bundles (e.g.
PhoneNumberKit_PhoneNumberKit.bundle). - Verify entitlements/signing:
unzip -q /tmp/imsg-macos.zip -d /tmp/imsg-checkcodesign -d --entitlements :- /tmp/imsg-check/imsgspctl -a -t exec -vv /tmp/imsg-check/imsg
- Requires
- Tag, push, and publish
git tag -a vX.Y.Z -m "vX.Y.Z"git push origin vX.Y.Zgh release create vX.Y.Z /tmp/imsg-macos.zip -t "vX.Y.Z" -F /tmp/release-notes.txtgh release edit vX.Y.Z --notes-file /tmp/release-notes.txt(if needed)
What happens in CI
- Release signing + notarization are done locally via
scripts/sign-and-notarize.sh. .github/workflows/release.ymlis only for manual rebuilds, not the primary release path.