-
Update the CHANGELOG.md with the version and date
-
Choose a tag name (e.g.
3.0.0
), this is the version number of the release.- Preview releases follow the pattern
3.0.0-alpha.1
,3.0.0-beta.1
,3.0.0-RC.1
- Execute the script with the tag's name, the script will update the version file and create a tag.
./scripts/prepare-release.sh 3.0.0
- Preview releases follow the pattern
-
Go to GH Releases
-
Choose a release name (e.g.
3.0.0
), and the tag you just created, ideally the same. -
Write a description of the release.
-
Publish the release.
-
Done
For the step 6. you can run the following command:
# https://www.npmjs.com/package/posthog-react-native-session-replay
# right now this is under the https://www.npmjs.com/~manoelposthog user
# this has to be moved to the posthog user
npm publish