- Update the version in
SEGAnalytics.m
,Analytics.podspec
,Segment/Info.plist
andExamples/CarthageExample/Cartfile
to the next release 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 Analytics.podspec
.- Next we'll create a dynamic framework for manual installation leveraging Carthage.
cd Examples/CarthageExample
.make clean
to be safe thenmake build
.- Zip
Carthage/Builds/iOS/Analytics.framework
andCarthage/Builds/iOS/Analytics.dSYM
intoArchive.zip
.
- Next, we'll create a Carthage build by running
make archive
. - Create a new Github release at https://github.com/segmentio/analytics-ios/releases
- Add latest version information from
CHANGELOG.md
- Upload
Archive.zip
from step 7 andAnalytics.zip
from step 8 into binaries section to make available for users to download.
- Add latest version information from
git push
.