For SourceKitten contributors, follow these steps to cut a release:
- Update version number in the following files:
Source/sourcekitten/Info.plist
Source/SourceKittenFramework/Info.plist
Source/sourcekitten/VersionCommand.swift
- Come up with a witty feline themed release name. Past names include:
- Objective-Cat
- Cat-astrophic
- SourceClangKitLibKitten
- Grumpy Cat
- Update the first header in
CHANGELOG.md
to the new version number & release name. - Commit & push to the
master
branch. - Tag:
git tag -a 0.6.2 -m "0.6.2: Objective-Cat"; git push origin 0.6.2
- Make sure you have the latest stable Xcode version installed or symlinked
under
/Applications/Xcode.app
andxcode-select
ed. - Create the pkg installer & framework zip:
make release
- Create a GitHub release: https://github.com/realm/SourceKitten/releases/new
- Specify the tag you just pushed from the dropdown.
- Set the release title to the new version number & release name.
- Add the changelog section to the release description text box.
- Upload the pkg installer and Carthage zip you just built to the GitHub release binaries.
- Click "Publish release"
- File a PR towards Homebrew bumping the
tag
,revision
& Xcode version dependency if necessary. See homebrew#45651 as an example.