[Admin] Release process - AliSoftware/Reusable GitHub Wiki
Bump the version and Check everything
- Create a
release/x.y.z branch
- Update the pod version in
Reusable.podspec
- Update the title of the main section in the CHANGELOG entries
- Update the pod used by the sample project:
cd Example && pod update Reusable
- Test that the sample project still works, by opening it in Xcode and running it
- Merge the release branch
Make a new GitHub Release
- Go to the GitHub Releases tab.
- Draft a new release.
- Copy & Paste the entries from the
CHANGELOG.md for this version.
- Make it create a new tag pointing to the head of the
main branch (where you just merged your release PR) and submit the GitHub release.
Publish to CocoaPods
- Create a tag for the new version.
- Run
pod trunk push.
Create the Carthage binary
- Run
bundle exec rake carthage:build.
- Zip the
.xcframework (cd Carthage/Build && zip -r Reusable.xcframework.zip Reusable.xcframework).
- Attach the ZIP file to the GitHub Release.
Reset the CHANGELOG
- Push a new commit on the
main branch to add an empty section for upcoming PRs:
## main branch
_No pending changes to be released yet!_