- If you've updated a dependency in one of
Cartfile
orPusherChatkit.podspec
then make sure it is reflected in the other.
- Update
CHANGELOG.md
, following the existing format. - Update version string in:
Tests/ChatManagerTests.swift
Sources/ChatManager.swift
Sources/Info.plist
(under the keyCFBundleShortVersionString
)Tests/Supporting Files/Info.plist
(under the keyCFBundleShortVersionString
)PusherChatkit.podspec
- Run
carthage build --no-skip-current
to ensure that the framework builds. This will likely take a while - go get a drink. - In Xcode, run the tests (⌘+u) with the
PusherChatkit
target selected (the briefcase symbol in the top bar) for an iOS device, your Mac, and a tvOS device. - Commit all of the version changes:
git commit -am "Bump to NEW_VERSION_NUMBER"
- Tag the commit with the version number:
git tag -a NEW_VERSION_NUMBER -m NEW_VERSION_NUMBER
- Push the commit and the tags:
git push origin master && git push --tags
[Skip 8 and 9 if you have already registered with Cocoapods trunk on your machine]
- Register your machine with Cocoapods by running
pod trunk register [email protected]
- Go to Zendesk (or ask someone with access) to click the link in the challenge email that will have been sent to [email protected]. Note that it quite often ends up in the "spam" section of Zendesk so make sure you check there too.
- Push the new version to Cocoapods:
pod trunk push PusherChatkit.podspec
(you can add--allow-warnings
if there are build-related warnings that are safe to ignore). You might also need to add--swift-version=4
(or another Swift version) depending on how you've got things set up locally. - Add a message to the #chatkit-release channel in the community Slack to notify people of the new release.