Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 986 Bytes

File metadata and controls

13 lines (9 loc) · 986 Bytes

Releasing

This repository uses Sampo for versioning and changelog generation, with GitHub Actions publishing packages to PyPI.

  1. When making changes, include a changeset: sampo add
  2. Create a PR with your changes and the changeset file
  3. Merge to main (no release label required)
  4. Approve the release in Slack when prompted — this triggers the version bump, publishes both posthog and the posthoganalytics mirror package to PyPI, creates a git tag, and creates a GitHub Release

You can also trigger a release manually via the workflow's workflow_dispatch trigger (still requires pending changesets).

Important

Changesets must live in .sampo/changesets/ (this is where sampo add puts them). Do not create them in the legacy .changeset/ directory — Sampo and the Release workflow only read .sampo/changesets/*.md, so a changeset placed anywhere else is silently ignored and no release is triggered.