-
Ensure you are on the
master
branch with your latest changes pulled down. -
Update the version in
Segment-Amplitude.podspec
. -
Update the
CHANGELOG.md
for the impending release. -
carthage update --platform ios && carthage build --platform ios --no-skip-current --use-frameworks
Note: 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.zip
created in the earlier step.