- Cocoapods for project dependencies:
sudo gem install cocoapods
- Jazzy for docs:
sudo gem install jazzy
- Check out the project:
https://github.com/GetStream/stream-chat-swift.git
- Install pods:
pod install
- Open the project in Xcode
- Bump the version and build number of the project:
- Project StreamChat → Target
StreamChatCore
→ General → Version1.0.0
- Project StreamChat → Target
StreamChat
→ General → Version1.0.0
- Open
StreamChat.podspec
andStreamChatCore.podspec
files and update the version to the same as on the Xcode project:spec.version = "1.0.0"
- Commit changes to the repo as
Bump v.1.0.0
- Add the tag
1.0.0
to the repo and push it to the origin. - Update docs:
jazzy --podspec StreamChatCore.podspec --output docs/core -a GetStream.io -u getstream.io -g https://github.com/GetStream/stream-chat-swift
- Update docs:
jazzy --podspec StreamChat.podspec --output docs/ui -a GetStream.io -u getstream.io -g https://github.com/GetStream/stream-chat-swift
- Commit updated docs to the repo.
- Add release notes: https://github.com/GetStream/stream-chat-swift/releases
- 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!
--------------------------------------------------------------------------------