Skip to content

Commit 19bf859

Browse files
authored
Merge pull request #1923 from amgleitman/0.72-first-release
Start publishing 0.72-stable!
2 parents 2f9e8af + 3c9f9d8 commit 19bf859

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

.ado/apple-integration.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
echo "##vso[task.setvariable variable=rncli_android_version]$(cat package.json | jq '.dependencies."@react-native-community/cli-platform-android"')"
4141
echo "##vso[task.setvariable variable=rncli_ios_version]$(cat package.json | jq '.dependencies."@react-native-community/cli-platform-ios"')"
4242
displayName: 'Determine react-native-macos version'
43+
workingDirectory: packages/react-native
4344
- bash: |
4445
npm pack ./packages/react-native
4546
displayName: 'Pack react-native-macos'

.ado/publish.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ trigger:
99
include:
1010
- main
1111
- '*-stable'
12-
exclude:
13-
- 0.72-stable
1412
paths:
1513
exclude:
1614
- package.json
@@ -83,7 +81,7 @@ jobs:
8381
displayName: Actual NPM Publish
8482
inputs:
8583
script: |
86-
npm publish --tag $(npmDistTag) --registry https://registry.npmjs.org/ --//registry.npmjs.org/:_authToken=$(npmAuthToken)
84+
npm publish ./packages/react-native --tag $(npmDistTag) --registry https://registry.npmjs.org/ --//registry.npmjs.org/:_authToken=$(npmAuthToken)
8785
8886
# Set the git tag and push the version update back to Github
8987

@@ -115,7 +113,7 @@ jobs:
115113

116114

117115
- job: RNMacOSInitNpmJSPublish
118-
displayName: NPM Publish react-native-macos-init
116+
displayName: NPM Publish beachball packages (e.g., react-native-macos-init)
119117
pool: cxeiss-ubuntu-20-04-large
120118
timeoutInMinutes: 90 # how long to run the job before automatically cancelling
121119
cancelTimeoutInMinutes: 5 # how much time to give 'run always even if cancelled tasks' before killing them
@@ -152,10 +150,10 @@ jobs:
152150
script: echo "This code is tested as part of an integration test. See the 'Verify react-native-macos-init' task."
153151

154152
- task: CmdLine@2
155-
displayName: "Publish react-native-macos-init to npmjs.org"
153+
displayName: "Publish beachball packages to npmjs.org"
156154
inputs:
157155
script: |
158-
npx beachball publish --branch origin/$(Build.SourceBranchName) -n $(npmAuthToken) -yes -m "applying package updates ***NO_CI***" --access public
156+
npx beachball publish --scope '!packages/react-native' --branch origin/$(Build.SourceBranchName) -n $(npmAuthToken) -yes -m "applying package updates ***NO_CI***" --access public
159157
160158
# beachball modifies the package.json files so run manifest generation after it.
161159
- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0

packages/react-native/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-macos",
3-
"version": "1000.0.0",
3+
"version": "0.72.0-0",
44
"bin": "./cli.js",
55
"description": "React Native for macOS",
66
"license": "MIT",
@@ -88,7 +88,7 @@
8888
"@react-native/gradle-plugin": "^0.72.11",
8989
"@react-native/js-polyfills": "^0.72.1",
9090
"@react-native/normalize-colors": "^0.72.0",
91-
"@react-native-mac/virtualized-lists": "^0.72.0-0",
91+
"@react-native-mac/virtualized-lists": "^0.72.0",
9292
"abort-controller": "^3.0.0",
9393
"anser": "^1.4.9",
9494
"base64-js": "^1.1.2",

yarn.lock

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7887,7 +7887,7 @@ mime-types@^2.1.12, mime-types@^2.1.27, mime-types@~2.1.19:
78877887
dependencies:
78887888
mime-db "1.51.0"
78897889

7890-
mime-types@~2.1.34:
7890+
mime-types@~2.1.24, mime-types@~2.1.34:
78917891
version "2.1.35"
78927892
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a"
78937893
integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==
@@ -8054,6 +8054,11 @@ natural-compare@^1.4.0:
80548054
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
80558055
integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==
80568056

8057+
8058+
version "0.6.2"
8059+
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb"
8060+
integrity sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==
8061+
80578062
[email protected], negotiator@^0.6.3:
80588063
version "0.6.3"
80598064
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd"

0 commit comments

Comments
 (0)