react-native/Releases.md

64 lines
2.3 KiB
Markdown
Raw Normal View History

2015-12-10 15:37:44 +00:00
The list of releases with notes can be found at:
https://github.com/facebook/react-native/releases
2015-12-10 16:29:19 +00:00
Future releases:
2016-01-29 16:22:36 +00:00
- **0.20 branch cut**, 0.20.0-rc - **week of Feb 1**
2016-01-15 16:47:45 +00:00
- 0.20.0 - Feb 15
2016-02-09 16:00:49 +00:00
- **0.21 branch cut**, 0.21.0-rc - **week of Feb 15**
- 0.21.0 - Feb 29
- **0.22 branch cut**, 0.22.0-rc - **week of Feb 29**
- 0.22.0 - Mar 7
- **0.23 branch cut**, 0.23.0-rc - **week of Mar 7**
- 0.23.0 - Mar 21
2015-12-10 16:29:19 +00:00
- ...
2016-01-18 20:26:07 +00:00
## One time setup
Set up Sinopia: https://github.com/facebook/react-native/tree/master/react-native-cli
2015-12-10 15:37:44 +00:00
## Cut a release branch
2016-01-18 20:26:07 +00:00
To cut a release branch and check that everything works, you'll need Mac OS with the [Android dev environment set up](https://github.com/facebook/react-native/blob/master/ReactAndroid/README.md).
Run:
cd react-native
./scripts/release.sh 0.19 # Replace 0.19 with the version you're cutting the branch for :)
2015-12-10 16:29:19 +00:00
2015-12-10 16:30:51 +00:00
#### Check that everything works
2016-01-20 17:27:26 +00:00
Make absolutely sure a basic iOS and Android workflow works on the release branch you've just created, see the instructions printed by `release.sh`.
2015-12-10 16:30:51 +00:00
#### Push to github
2015-12-10 15:37:44 +00:00
2016-01-18 20:26:07 +00:00
- Check git history, the last commit should be "[0.19-rc] Bump version numbers" (with the correct version)
- `git push origin 0.version_you_are_releasing-stable`
2016-02-10 15:50:52 +00:00
#### Update https://facebook.github.io/react-native
Move `latest` tag when doing a release and pushing to `0.x-stable` branch, CI will build and deploy the
latest docs to the website.
```
git tag -d latest
git push origin :latest
git tag latest
git push origin version_you_are_releasing-stable --tags
```
2016-01-21 15:03:25 +00:00
## Make sure we have release notes
Post that we're ready to release so voluteers can write release notes:
https://github.com/facebook/react-native/releases
2016-01-21 15:04:30 +00:00
To go through all the commits that went into a release, one way is to use the github compare view: https://github.com/facebook/react-native/compare/0.18-stable...0.19-stable
2015-12-10 15:37:44 +00:00
2015-12-10 16:30:51 +00:00
## Do a release
2015-12-10 15:37:44 +00:00
2016-01-22 18:55:35 +00:00
IMPORTANT: `npm publish` will automatically set the latest tag. **When doing an RC release**, run `npm publish --tag next` - this way people need to opt in to get the RC release.
2016-01-18 20:26:07 +00:00
## Track bug reports from the community during the following two weeks and make sure they get fixed
A good way to do this is to create a github issue and post about it so people can report bugs: https://github.com/facebook/react-native/issues/5201