Skip to content

Commit 442c74b

Browse files
author
Krzysztof Borowy
authored
chore: changes release process
* Releases are not cut when merging into `release` branch
1 parent d9a83d8 commit 442c74b

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,4 +319,4 @@ workflows:
319319
- "Test: iOS e2e"
320320
filters:
321321
branches:
322-
only: master
322+
only: release

.releaserc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"release": {
3+
"branch": "release"
4+
},
25
"plugins": [
36
"@semantic-release/commit-analyzer",
47
"@semantic-release/release-notes-generator",

CONTRIBUTING.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ When you're sending a pull request:
2323

2424

2525
## Commits and versioning
26-
All PRs are squashed into `master` and wrapped up in a single commit, following [conventional commit message](https://www.conventionalcommits.org/en/v1.0.0-beta.3). Combined with [semantic versioning](https://semver.org/), this allows us to have a frequent releases of the library.
26+
All PRs are squashed into `release` branch and wrapped up in a single commit, following [conventional commit message](https://www.conventionalcommits.org/en/v1.0.0-beta.3). Combined with [semantic versioning](https://semver.org/), this allows us to have a frequent releases of the library.
2727

2828
*Note*: We don't force this convention on Pull Requests from contributors, but it's a clean way to see what type of changes are made, so feel free to follow it.
2929

@@ -40,8 +40,7 @@ Most notably prefixes you'll see:
4040

4141

4242
## Release process
43-
We use [Semantic Release](http://semantic-release.org) to automatically release new versions of the library when changes are merged into master. Using the commit message convention described above, it will detect if we need to release a patch, minor, or major version of the library.
44-
43+
We use [Semantic Release](http://semantic-release.org) to automatically release new versions of the library when changes are merged into `release` branch. We plan to keep the `master` stable, before cutting the new versions. Bugs fixes take priority in release order.
4544

4645
## Reporting issues
4746
You can report issues on our [bug tracker](https://github.com/react-native-community/react-native-async-storage/issues). Please search for existing issues and follow the issue template when opening an one.

0 commit comments

Comments
 (0)