Skip to content

Commit

Permalink
[0.75] Publish React Native macOS 0.75.0 (Take 2) (#2181)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saadnajmi authored Aug 30, 2024
1 parent 3a50dbd commit b5886c1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .ado/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ variables:
- group: InfoSec-SecurityResults
- name: tags
value: production,externalfacing
# Remember to update this in previous stable branches when creating a new stable branch
- name : latestStableBranch
value: '0.75-stable'

resources:
repositories:
Expand Down Expand Up @@ -96,6 +99,7 @@ extends:

- bash: echo "##vso[task.setvariable variable=npmDistTag]latest"
displayName: Set dist-tag to latest
condition: eq(variables['Build.SourceBranchName'], variables.latestStableBranch)

- bash: echo "##vso[task.setvariable variable=npmDistTag]canary"
displayName: Set dist-tag to canary
Expand Down
8 changes: 3 additions & 5 deletions .ado/templates/apple-steps-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,11 @@ steps:
# Note, This won't do the actual `git tag` and `git push` as we're doing a dry run.
# We do that as a separate step in `.ado/publish.yml`.
- task: CmdLine@2
displayName: Prepare package for release
displayName: Prepare React Native macOS release
inputs:
script: |
node ./scripts/prepare-package-for-release.js -v "$RNM_PACKAGE_VERSION" --dry-run
env:
# Map the corresponding CircleCI variable since `prepare-package-for-release.js` depends on it.
CIRCLE_BRANCH: $(Build.SourceBranchName)
set -eox pipefail
node scripts/releases/set-rn-version.js -v $RNM_PACKAGE_VERSION --build-type "release"
# Note: This won't actually publish to NPM as we've commented that bit out.
# We do that as a separate step in `.ado/publish.yml`.
Expand Down

0 comments on commit b5886c1

Please sign in to comment.