Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 712 Bytes

File metadata and controls

21 lines (15 loc) · 712 Bytes

Releasing

  1. Update the version in PostHog.podspec and PostHog/Info.plist 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 PostHog.podspec.

On Apple Silicon

Run this first:

sudo arch -x86_64 gem install ffi
arch -x86_64 pod install

Then, configure XCode CLI tools.

Finally, prepend arch -x86_64 to the pod command in the steps above.