microsoft / react-native-macos

A framework for building native macOS apps with React.
https://microsoft.github.io/react-native-windows/
MIT License
3.49k stars 135 forks source link

fix: Port publish pipeline changes from 0.74 and 0.75 stable branches #2180

Closed Saadnajmi closed 1 month ago

Saadnajmi commented 1 month ago

Summary:

We made a couple of fixes to the 0.74-stable and 0.75-stable branches that we should bring to our main branch, so 0.76-stable and onwards get them. Namely:

  1. Move the latestStableBranch variable out of the pipeline config and into YAML. Due to recent security measures, it is much harder to edit the pipeline config, so this should help maintainability. The downside is we have to remember to set this on multiple branches now every time we cut a release.
  2. Use the correct script to set the React Native version across the templated files every release
  3. Let the beachball publish job run on stable branches, so that virtualized-lists can publish.

Test Plan:

CI should pass