Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 971 Bytes

RELEASING.md

File metadata and controls

22 lines (16 loc) · 971 Bytes

Releasing

  1. Update the version in PostHog.podspec, PostHog/Info.plist, and version in PostHog/Classes/PHGPostHog.m 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 --allow-warnings.
  7. Go to GH Releases and create a new release from the tag you just pushed. Copy the changelog entry into the description and publish the release.

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.