mirror of
https://github.com/realm/SwiftLint.git
synced 2026-06-06 20:18:40 +00:00
1.3 KiB
1.3 KiB
Releasing SwiftLint
For SwiftLint contributors, follow these steps to cut a release:
- Update version number in the following files:
Source/swiftlint/Supporting Files/Info.plistSource/SwiftLintFramework/Supporting Files/Info.plist
- Come up with a witty washer/dryer themed release name. Past names include:
- Tumble Dry
- FabricSoftenerRule
- Top Loading
- Fresh Out Of The Dryer
- Update the first header in
CHANGELOG.mdto the new version number & release name. - Commit & push to the
masterbranch. - Tag:
git tag -a 0.2.0 -m "0.2.0: Tumble Dry"; git push origin 0.2.0 - Make sure you have the latest stable Xcode version installed or symlinked
under
/Applications/Xcode.appandxcode-selected. - Create the pkg installer & framework zip:
make release - Create a GitHub release: https://github.com/realm/SwiftLint/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"
- Update Homebrew:
brew bump-formula-pr --tag=$(git describe --tags) --revision=$(git rev-parse HEAD) swiftlint.