Skip to content

Commit 5f9bd61

Browse files
authored
Merge pull request #89 from react-native-community/canaries
test
2 parents 28b2f78 + 231095c commit 5f9bd61

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

.circleci/config.yml

+18
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ jobs:
2525
- run:
2626
name: Jest
2727
command: yarn test
28+
release-canary:
29+
executor: rn/linux_js
30+
steps:
31+
- attach_workspace:
32+
at: .
33+
- rn/yarn_install
34+
- run:
35+
name: Publish a canary release to NPM
36+
command: yarn release-canary
2837
release:
2938
executor: rn/linux_js
3039
steps:
@@ -43,6 +52,15 @@ workflows:
4352
- analyze:
4453
requires:
4554
- checkout_code
55+
- release-canary:
56+
requires:
57+
- analyze
58+
filters:
59+
branches:
60+
ignore: master
4661
- release:
4762
requires:
4863
- analyze
64+
filters:
65+
branches:
66+
only: master

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,9 @@ console.log('layout: ', layout)
151151
[version-badge]: https://img.shields.io/npm/v/@react-native-community/hooks.svg?style=flat-square
152152
[package]: https://www.npmjs.com/package/@react-native-community/hooks
153153

154-
We use [auto](https://github.com/intuit/auto) for automatic releases, an awesome tool by an awesome [dude](https://github.com/hipstersmoothie)!
154+
## Thanks
155155

156+
We use [auto](https://github.com/intuit/auto) for automatic releases, an awesome tool by an awesome [dude](https://github.com/hipstersmoothie)!
156157

157158
## Contributors ✨
158159

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"build": "tsc",
1010
"test": "jest",
1111
"lint": "eslint src/**/*.ts",
12-
"release": "auto shipit"
12+
"release": "auto shipit",
13+
"release-canary": "auto canary"
1314
},
1415
"peerDependencies": {
1516
"react": ">=16.8.0",

0 commit comments

Comments
 (0)