diff --git a/package.json b/package.json index 099d8b62bd9f4f..7dcaf0af9d546c 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "test-typescript": "dtslint packages/react-native/types", "test-typescript-offline": "dtslint --localTs node_modules/typescript/lib packages/react-native/types", "bump-all-updated-packages": "node ./scripts/monorepo/bump-all-updated-packages", - "bump-oss-version": "node ./scripts/bump-oss-version.js" + "trigger-react-native-release": "node ./scripts/trigger-react-native-release.js" }, "workspaces": [ "packages/*" diff --git a/scripts/publish-npm.js b/scripts/publish-npm.js index b6cb1a12525a8c..75685422bfd72c 100755 --- a/scripts/publish-npm.js +++ b/scripts/publish-npm.js @@ -113,7 +113,7 @@ function getNpmInfo(buildType) { ); // See if releaser indicated that this version should be tagged "latest" - // Set in `bump-oss-version` + // Set in `trigger-react-native-release` const isLatest = exitIfNotOnGit( () => isTaggedLatest(currentCommit), 'Not in git. We do not want to publish anything', diff --git a/scripts/bump-oss-version.js b/scripts/trigger-react-native-release.js similarity index 96% rename from scripts/bump-oss-version.js rename to scripts/trigger-react-native-release.js index 88ca9a89a986dc..2986e95fca625b 100755 --- a/scripts/bump-oss-version.js +++ b/scripts/trigger-react-native-release.js @@ -49,7 +49,7 @@ let argv = yargs .check(() => { const branch = exitIfNotOnGit( () => getBranchName(), - "Not in git. You can't invoke bump-oss-versions.js from outside a git repo.", + "Not in git. You can't invoke trigger-react-native-release from outside a git repo.", ); exitIfNotOnReleaseBranch(branch); return true; @@ -125,7 +125,7 @@ function triggerReleaseWorkflow(options) { async function main() { const branch = exitIfNotOnGit( () => getBranchName(), - "Not in git. You can't invoke bump-oss-versions.js from outside a git repo.", + "Not in git. You can't invoke trigger-react-native-release from outside a git repo.", ); // check for uncommitted changes