Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 1.62 KB

releasing.md

File metadata and controls

36 lines (31 loc) · 1.62 KB

Releasing

Tools

  • Cocoapods for project dependencies: sudo gem install cocoapods
  • Jazzy for docs: sudo gem install jazzy

Install the project

  • Check out the project: https://github.com/GetStream/stream-chat-swift.git
  • Install pods: pod install

Releasing

  1. Open the project in Xcode
  2. Bump the version and build number of the project:
  • Project StreamChat → Target StreamChatCore → General → Version 1.0.0
  • Project StreamChat → Target StreamChat → General → Version 1.0.0
  1. Open StreamChat.podspec and StreamChatCore.podspec files and update the version to the same as on the Xcode project: spec.version = "1.0.0"
  2. Commit changes to the repo as Bump v.1.0.0
  3. Add the tag 1.0.0 to the repo and push it to the origin.
  4. Update docs: jazzy --podspec StreamChatCore.podspec --output docs/core -a GetStream.io -u getstream.io -g https://github.com/GetStream/stream-chat-swift
  5. Update docs: jazzy --podspec StreamChat.podspec --output docs/ui -a GetStream.io -u getstream.io -g https://github.com/GetStream/stream-chat-swift
  6. Commit updated docs to the repo.
  7. Add release notes: https://github.com/GetStream/stream-chat-swift/releases
  8. Push the release to the Cocoapods:
  • pod trunk push StreamChatCore.podspec
  • pod trunk push StreamChat.podspec
--------------------------------------------------------------------------------
 🎉  Congrats

 🚀  StreamChat (1.0.0) successfully published
 📅  July 8th, 11:47
 🌎  https://cocoapods.org/pods/StreamChat
 👍  Tell your friends!
--------------------------------------------------------------------------------