-
Ensure you are on the
masterbranch with your latest changes pulled down. -
Update the version in
Segment-Amplitude.podspec. -
Update the
CHANGELOG.mdfor the impending release. -
carthage update --platform ios && carthage build --platform ios --no-skip-current --use-frameworksNote: May need to use this method to get there: https://github.com/Carthage/Carthage/blob/master/Documentation/Xcode12Workaround.md -
In Finder, go into
Carthage/Build/and compress Segment_Amplitude.xcframework. This will createSegment_Amplitude.xcframework.zip, which you'll need later. -
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-Amplitude.podspec --allow-warnings -
Go to github and add proper release notes on the tag, as well as attach the
Archive.zipcreated in the earlier step.