Skip to content

Commit

Permalink
rename main script
Browse files Browse the repository at this point in the history
  • Loading branch information
kelset committed Aug 7, 2023
1 parent 0f57dc7 commit 37cdfff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/*"
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish-npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 37cdfff

Please sign in to comment.