Fix path in trigger-react-native-release (#43107)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43107

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D53940161

fbshipit-source-id: 0de7887ff117db6f876420c1b609924bfc237847
This commit is contained in:
Alex Hunt
2024-02-20 04:22:55 -08:00
committed by Facebook GitHub Bot
parent 1b504382c1
commit cffb69a12b
@@ -11,6 +11,7 @@
'use strict';
const {REPO_ROOT} = require('../consts');
const detectPackageUnreleasedChanges = require('../monorepo/bump-all-updated-packages/bump-utils.js');
const checkForGitChanges = require('../monorepo/check-for-git-changes');
const forEachPackage = require('../monorepo/for-each-package');
@@ -22,16 +23,14 @@ const {
const {exitIfNotOnGit, getBranchName} = require('../scm-utils');
const chalk = require('chalk');
const inquirer = require('inquirer');
const path = require('path');
const request = require('request');
const {echo, exit} = require('shelljs');
const yargs = require('yargs');
/**
* This script walks a releaser through bumping the version for a release
* It will commit the appropriate tags to trigger the CircleCI jobs.
*/
const {echo, exit} = require('shelljs');
const yargs = require('yargs');
const ROOT_LOCATION = path.join(__dirname, '..');
let argv = yargs
.option('r', {
@@ -83,7 +82,7 @@ const buildExecutor =
detectPackageUnreleasedChanges(
packageRelativePathFromRoot,
packageName,
ROOT_LOCATION,
REPO_ROOT,
)
) {
// if I enter here, I want to throw an error upward