For SourceKitten contributors, follow these steps to cut a release:
- Come up with a witty feline themed release name. Past names include:
- Objective-Cat
- Cat-astrophic
- SourceClangKitLibKitten
- Grumpy Cat
- Yarn Ball
- Make sure you have the latest stable Xcode version installed and
xcode-selected. - Run
make release <version> <name>, e.g.:This will:make release 0.37.3 Yarn Ball- Update the version in
CHANGELOG.md,Version.swift, andMODULE.bazel. - Commit and push to
main. - Create and push an annotated tag.
- Build the pkg installer.
- Download the source tarball and upload it as a release asset (required by the Bazel Central Registry for a stable URL).
- Create the GitHub release with the changelog, pkg, and source tarball attached.
- Add an empty changelog section and push to
main.
- Update the version in
- Homebrew will be updated automatically by BrewTestBot within ~3 hours. The BCR GitHub app will open a PR to update the Bazel Central Registry.