Run the script update-segment
to update the pod, push to git, and release the version.
You'll be prompted to:
- Update the version number in Segment-Branch.podspec.
- Update the version number add notes to CHANGELOG.md.
- Update the version number in update-segment.
The script will then compile the example projects and then update and push the podspec to the master CocoaPod repo.
The script update-segment
automates:
- Update the version in
Segment-Branch.podspec
to the next version. - Update the
CHANGELOG.md
for the impending release. git commit -am "Prepare for release X.Y.Z."
(where X.Y.Z is the new version)git tag -a X.Y.Z -m "Version X.Y.Z"
(where X.Y.Z is the new version)git push && git push --tags
pod trunk push Segment-Branch.podspec --allow-warnings