Skip to content

Commit

Permalink
Update docs on versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
robbie-c committed Apr 16, 2024
1 parent 9657581 commit e417001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Install Yalc to link a local version of `posthog-js` in another JS project: `npm

Just put a `bump patch/minor/major` label on your PR! Once the PR is merged, a new version with the appropriate version bump will be released, and the dependency will be updated in [posthog/PostHog](https://github.com/posthog/PostHog) – automatically.

If you want to release a new version without a PR (e.g. because you forgot to use the label), check out the `main` branch and run `npm version [major | minor | patch] && git push --tags` - this will trigger the automated release process just like the label.
If you forget to add the label, don't try to update the version locally as you won't be able to push that commit to the main branch. Instead, just make a new PR.

### Prereleases

Expand Down

0 comments on commit e417001

Please sign in to comment.