This repository uses Sampo for versioning, changelogs, and publishing to crates.io.
-
When making changes, include a changeset:
sampo add-
Prefer letting
sampo addcreate the file for you. -
If you create or edit a changeset manually, the frontmatter must use this exact package key:
--- cargo/posthog-rs: patch ---
-
Replace
patchwithminorormajorwhen appropriate.
-
-
Create a PR with your changes and the changeset file
-
Add the
releaselabel and merge tomain -
Approve the release in Slack when prompted — this triggers version bump, crates.io publish, git tag, and GitHub Release
You can also trigger a release manually via the workflow's workflow_dispatch trigger (still requires pending changesets).