Skip to content

Commit f8c36d1

Browse files
committed
Removing release-it, updating to prevent automatic releases on merge to main
- after this change a release will only take place if the branch has been tagged
1 parent 2e1f9ac commit f8c36d1

File tree

3 files changed

+79
-1514
lines changed

3 files changed

+79
-1514
lines changed

.circleci/config.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,13 @@ executors:
2222
orbs:
2323
android: circleci/android@1.0
2424

25-
run_on_master: &run_on_master
26-
filters:
25+
26+
run_on_release: &run_on_release
27+
filters:
28+
tags:
29+
only: /.*/
2730
branches:
28-
only: main
31+
ignore: /.*/
2932

3033
commands:
3134
attach_project:
@@ -255,7 +258,7 @@ workflows:
255258
- unit-tests
256259
- build-package
257260
- release-to-npm:
258-
<<: *run_on_master
261+
<<: *run_on_release
259262
context:
260263
- react-native-context
261264
requires:

package.json

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"typescript": "tsc --noEmit",
2727
"lint": "eslint \"**/*.{js,ts,tsx}\"",
2828
"prepare": "bob build",
29-
"release": "release-it --access public",
3029
"example": "yarn --cwd example",
3130
"pods": "cd example && pod-install --quiet",
3231
"bootstrap": "yarn example && yarn && yarn pods"
@@ -55,7 +54,6 @@
5554
},
5655
"devDependencies": {
5756
"@react-native-community/eslint-config": "^2.0.0",
58-
"@release-it/conventional-changelog": "^2.0.0",
5957
"@types/jest": "^26.0.0",
6058
"@types/mocha": "^8.2.2",
6159
"@types/react": "^16.9.19",
@@ -70,7 +68,6 @@
7068
"react": "16.13.1",
7169
"react-native": "0.63.4",
7270
"react-native-builder-bob": "^0.18.0",
73-
"release-it": "^14.2.2",
7471
"typescript": "^4.1.3",
7572
"webdriverio": "^7.7.2"
7673
},
@@ -85,24 +82,6 @@
8582
"<rootDir>/lib/"
8683
]
8784
},
88-
"release-it": {
89-
"git": {
90-
"commitMessage": "chore: release ${version} [skip ci]",
91-
"tagName": "v${version}"
92-
},
93-
"npm": {
94-
"publish": true
95-
},
96-
"github": {
97-
"release": true
98-
},
99-
"plugins": {
100-
"@release-it/conventional-changelog": {
101-
"preset": "angular",
102-
"ignoreRecommendedBump": true
103-
}
104-
}
105-
},
10685
"eslintConfig": {
10786
"root": true,
10887
"ignorePatterns": [

0 commit comments

Comments
 (0)