Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Latest commit

 

History

History
32 lines (24 loc) · 2.51 KB

RELEASE.md

File metadata and controls

32 lines (24 loc) · 2.51 KB

Releasing PusherChatkit

General things to consider

  • If you've updated a dependency in one of Cartfile or PusherChatkit.podspec then make sure it is reflected in the other.

Prerequisites

Checklist

  1. Update CHANGELOG.md, following the existing format.
  2. Update version string in:
    1. Tests/ChatManagerTests.swift
    2. Sources/ChatManager.swift
    3. Sources/Info.plist (under the key CFBundleShortVersionString)
    4. Tests/Supporting Files/Info.plist (under the key CFBundleShortVersionString)
    5. PusherChatkit.podspec
  3. Run carthage build --no-skip-current to ensure that the framework builds. This will likely take a while - go get a drink.
  4. 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.
  5. Commit all of the version changes: git commit -am "Bump to NEW_VERSION_NUMBER"
  6. Tag the commit with the version number: git tag -a NEW_VERSION_NUMBER -m NEW_VERSION_NUMBER
  7. 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]

  1. Register your machine with Cocoapods by running pod trunk register [email protected]
  2. 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.
  3. 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.
  4. Add a message to the #chatkit-release channel in the community Slack to notify people of the new release.