packages/scripts/promoteRelease.js
/**
 * Change the version of main packages to the given string
 * @param {string} packageVersion
 */
Change the version of main packages to the given string
@param {string} packageVersion
Change the version of main packages to the given string @param { string } packageVersion
async function updatePackageVersions(packageVersion) {
  for (const packageName of [
    '@office-iss/react-native-win32',
    'react-native-windows',
  ]) {
    await updatePackage(packageName, {version: packageVersion});
  }
}
async function updatePackageVersions ( packageVersion ) { for ( const packageName of [ '@office-iss/react-native-win32' , 'react-native-windows' , ] ) { await updatePackage ( packageName , { version : packageVersion } ) ; } }
Change the version of main packages to the given string
 @param {string} packageVersion
Change the version of main packages to the given string @param { string } packageVersion