Skip to content

Latest commit

 

History

History
18 lines (17 loc) · 1.09 KB

RELEASING.md

File metadata and controls

18 lines (17 loc) · 1.09 KB

Releasing

  1. Update the version in SEGAnalytics.m, Analytics.podspec, Segment/Info.plist and Examples/CarthageExample/Cartfile to the next release version.
  2. Update the CHANGELOG.md for the impending release.
  3. git commit -am "Prepare for release X.Y.Z." (where X.Y.Z is the new version).
  4. git tag -a X.Y.Z -m "Version X.Y.Z" (where X.Y.Z is the new version).
  5. git push && git push --tags.
  6. pod trunk push Analytics.podspec.
  7. Next we'll create a dynamic framework for manual installation leveraging Carthage.
    • cd Examples/CarthageExample.
    • make clean to be safe then make build.
    • Zip Carthage/Builds/iOS/Analytics.framework and Carthage/Builds/iOS/Analytics.dSYM into Archive.zip.
  8. Next, we'll create a Carthage build by running make archive.
  9. 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 and Analytics.zip from step 8 into binaries section to make available for users to download.
  10. git push.