Fix back ports getting tagged as latest
on NPM + react-native-macos-init publish
#1794
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please select one of the following
Summary
This PR fixes two changes:
The
react-native-macos-init
publish job was missing a step to set up some tools, like node and ruby. This caused the pipeline to fail. This should be a relatively simple fix.Backports to
0.68-stable
were getting tagged as "latest" on NPM. This is because our Publish pipeline has a variablelatestStableBranch
defined in its build settings, set to0.68-stable
. I thought I could override that locally invars.yml
, but that change didn't carry down to the068-stable
branch. Therefore, when a new change was published to0.68-stable
, it still thought that was the latest released and tagged it on NPM as such. To fix this, we can remove the variable from our yml, add back the note it's expected to be defined in the pipelines' build settings, and update the build settings. I don't have pipeline edit auth, so I'm asking @dannyvv to do so 🙂.Changelog
[INTERNAL] [FIXED] - Fix back ports getting tagged as
latest
on NPMTest Plan
CI should pass.