Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 934 Bytes

RELEASING.md

File metadata and controls

26 lines (21 loc) · 934 Bytes

Releasing

  1. Update the CHANGELOG.md with the version and date

  2. Choose a tag name (e.g. 3.0.0), this is the version number of the release.

    1. Preview releases follow the pattern 3.0.0-alpha.1, 3.0.0-beta.1, 3.0.0-RC.1
    2. 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
  3. Go to GH Releases

  4. Choose a release name (e.g. 3.0.0), and the tag you just created, ideally the same.

  5. Write a description of the release.

  6. Publish the release.

  7. 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