react-intl 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CONTRIBUTING.md CHANGED
@@ -33,3 +33,23 @@ Pull requests are very welcome, but should be within the scope of the project, a
33
33
 
34
34
  [pr]: https://github.com/yahoo/react-intl/compare/
35
35
  [fork]: https://github.com/yahoo/react-intl/fork/
36
+
37
+ ## Releasing a new version
38
+
39
+ The following the process to release a new version of the `react-intl` package on npm. This repo uses a protected `master` branch so the process involves creating a Pull Request for the version bump:
40
+
41
+ 1. Make sure local `node_modules` is up to date: `rm -rf node_modules && npm install`.
42
+
43
+ 2. Create a release branch from `master`: `git checkout -b release`
44
+
45
+ 3. Bump version using `npm version` and choose appropriate `patch`, `minor`, `major` argument.
46
+
47
+ 4. Create a Pull Request for your local `release` branch so Travis CI tests run.
48
+
49
+ 5. If all the tests pass successfully, publish your local `release` branch to npm: `npm publish`.
50
+
51
+ 6. Push the Git tag to the main fork: `git push upstream --tags`.
52
+
53
+ 7. Merge the `release` branch PR into `master` **and make sure to create a merge commit** so the Git tag matches.
54
+
55
+ 8. Create a [release](https://github.com/yahoo/react-intl/releases) post for the new release Git tag.