-
Notifications
You must be signed in to change notification settings - Fork 24.6k
Release and its automated processes
Ruslan Lesiutin edited this page Jan 3, 2023
·
11 revisions
This page contains relevant information about automated processes / utilities that can be used in a release cycle.
We have a CircleCI workflow, which runs only on main or stable-* branches. The essence of the workflow is the following:
for each package:
if last commit contains version change:
publish package to npm
If you want to bump package version and publish it to npm registry, your version change should be exactly in the last commit. This is because of two things:
- If multiple commits are merged to
main
branch at the same time, CircleCI will execute workflows only once on top of the latest commit. - To determine that version was changed we evaluate the difference between HEAD and HEAD~1.
Example script output, where no package versions were changed:
React Native • Contributor Guide • Getting Started • Website
How to Contribute
- How to File an Issue ↗
- Triaging GitHub Issues ↗
- How to Label an Issue ↗
- Managing Pull Requests ↗
- How to Contribute Code ↗
- How to Open a Pull Request ↗
- How to Build from Source ↗
Tests
Releases
More Resources
- Contributor Guide ↗
- Code of Conduct ↗
- Contributor License Agreement ↗
- Discussions and Proposals ↗
- Bots Reference ↗
Documentation