Skip to content

Commit

Permalink
ci(0.76): prepare to publish 0.76.0 (#2252)
Browse files Browse the repository at this point in the history
* ci: Publish React Native macOS 0.76.0

* Use`  -ready` prefix

* Use latest virtualized lists

* ci: Use Ubuntu for publish job (#2256)

* Revert "ci: Use the same VM image for PR and publish"

This reverts commit e2b6374.

* ci: specify publish pool with `os`

* Use Ubuntu instead
  • Loading branch information
Saadnajmi authored Oct 30, 2024
1 parent 83fe661 commit 0801493
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
13 changes: 4 additions & 9 deletions .ado/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ variables:
value: production,externalfacing
# Remember to update this in previous stable branches when creating a new stable branch
- name : latestStableBranch
value: '0.75-stable'
value: '0.76-stable'

resources:
repositories:
Expand Down Expand Up @@ -55,7 +55,9 @@ extends:
- job: RNGithubNpmJSPublish
displayName: NPM Publish React-native-macos
pool:
vmImage: $(vmImageApple)
name: cxeiss-ubuntu-20-04-large
image: cxe-ubuntu-20-04-1es-pt
os: linux
variables:
- name: BUILDSECMON_OPT_IN
value: true
Expand Down Expand Up @@ -83,13 +85,6 @@ extends:
- template: .ado/templates/apple-steps-publish.yml@self
parameters:
build_type: nightly
- ${{ elseif endsWith(variables['Build.SourceBranchName'], '0.76-stable') }}:
- task: CmdLine@2
displayName: "Skip 0.76-stable"
inputs:
script: |
echo "Skipping publish for branch $(Build.SourceBranchName)"
exit 1
- ${{ elseif endsWith(variables['Build.SourceBranchName'], '-stable') }}:
- template: .ado/templates/apple-steps-publish.yml@self
parameters:
Expand Down
2 changes: 0 additions & 2 deletions .ado/templates/apple-steps-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ parameters:
build_type: ''

steps:
- template: /.ado/templates/apple-tools-setup.yml@self

- task: CmdLine@2
displayName: yarn install (local react-native-macos)
inputs:
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-macos",
"version": "0.76.0",
"version": "0.76.0-ready",
"description": "React Native for macOS",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -111,7 +111,7 @@
},
"dependencies": {
"@jest/create-cache-key-function": "^29.6.3",
"@react-native-mac/virtualized-lists": "0.75.99",
"@react-native-mac/virtualized-lists": "0.76.0",
"@react-native/assets-registry": "0.76.0",
"@react-native/codegen": "0.76.0",
"@react-native/community-cli-plugin": "0.76.0",
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3435,7 +3435,7 @@ __metadata:
languageName: unknown
linkType: soft

"@react-native-mac/virtualized-lists@npm:0.75.99, @react-native-mac/virtualized-lists@workspace:packages/virtualized-lists":
"@react-native-mac/virtualized-lists@npm:0.76.0, @react-native-mac/virtualized-lists@workspace:packages/virtualized-lists":
version: 0.0.0-use.local
resolution: "@react-native-mac/virtualized-lists@workspace:packages/virtualized-lists"
dependencies:
Expand Down Expand Up @@ -11941,7 +11941,7 @@ __metadata:
resolution: "react-native-macos@workspace:packages/react-native"
dependencies:
"@jest/create-cache-key-function": "npm:^29.6.3"
"@react-native-mac/virtualized-lists": "npm:0.75.99"
"@react-native-mac/virtualized-lists": "npm:0.76.0"
"@react-native/assets-registry": "npm:0.76.0"
"@react-native/codegen": "npm:0.76.0"
"@react-native/community-cli-plugin": "npm:0.76.0"
Expand Down

0 comments on commit 0801493

Please sign in to comment.