diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c9efebdd..e557280b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -49,11 +49,17 @@ When you're sending a pull request: ### Publishing a release -If you have publish access to the NPM package, run the following from the main branch to publish a new release: +If you have publish access to the NPM package, perform following steps: +1. Update package version in `package.json` file. +2. Commit changed file. +3. Tag branch with `vX.Y.Z` tag. +4. Run the following from the main branch to publish a new release: ```sh -yarn publish +yarn npm publish --access public ``` +5. Push changes & tag to `origin`. + ## Reporting issues diff --git a/package.json b/package.json index ef76bc89..60a318df 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@testing-library/react-native", - "version": "12.3.2", + "version": "12.3.3", "description": "Simple and complete React Native testing utilities that encourage good testing practices.", "main": "build/index.js", "types": "build/index.d.ts",