Skip to content

Commit 37cdfff

Browse files
committed
rename main script
1 parent 0f57dc7 commit 37cdfff

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"test-typescript": "dtslint packages/react-native/types",
3636
"test-typescript-offline": "dtslint --localTs node_modules/typescript/lib packages/react-native/types",
3737
"bump-all-updated-packages": "node ./scripts/monorepo/bump-all-updated-packages",
38-
"bump-oss-version": "node ./scripts/bump-oss-version.js"
38+
"trigger-react-native-release": "node ./scripts/trigger-react-native-release.js"
3939
},
4040
"workspaces": [
4141
"packages/*"

scripts/publish-npm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function getNpmInfo(buildType) {
113113
);
114114

115115
// See if releaser indicated that this version should be tagged "latest"
116-
// Set in `bump-oss-version`
116+
// Set in `trigger-react-native-release`
117117
const isLatest = exitIfNotOnGit(
118118
() => isTaggedLatest(currentCommit),
119119
'Not in git. We do not want to publish anything',
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ let argv = yargs
4949
.check(() => {
5050
const branch = exitIfNotOnGit(
5151
() => getBranchName(),
52-
"Not in git. You can't invoke bump-oss-versions.js from outside a git repo.",
52+
"Not in git. You can't invoke trigger-react-native-release from outside a git repo.",
5353
);
5454
exitIfNotOnReleaseBranch(branch);
5555
return true;
@@ -125,7 +125,7 @@ function triggerReleaseWorkflow(options) {
125125
async function main() {
126126
const branch = exitIfNotOnGit(
127127
() => getBranchName(),
128-
"Not in git. You can't invoke bump-oss-versions.js from outside a git repo.",
128+
"Not in git. You can't invoke trigger-react-native-release from outside a git repo.",
129129
);
130130

131131
// check for uncommitted changes

0 commit comments

Comments
 (0)