Skip to content

Commit 32a6954

Browse files
authored
ci(0.78): properly pass NPM auth token secret to script (#2440)
## Summary: Backport of #2434 to 0.78-stable, along with a change file to publish a new version ## Test Plan: As with Publish pipeline changes, merge and hope for the best 🙏
1 parent b4b082e commit 32a6954

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.ado/templates/npm-publish-steps.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@ steps:
3333
condition: and(succeeded(), eq(variables['publish_react_native_macos'], '1'))
3434
3535
- script: |
36-
echo "//registry.npmjs.org/:_authToken=$(NODE_AUTH_TOKEN)" > ~/.npmrc
36+
echo "//registry.npmjs.org/:_authToken=$(npmAuthToken)" > ~/.npmrc
3737
yarn nx release publish --excludeTaskDependencies
38-
env:
39-
NODE_AUTH_TOKEN: $(npmAuthToken)
4038
displayName: Publish packages
4139
condition: and(succeeded(), eq(variables['publish_react_native_macos'], '1'))
4240
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
react-native-macos: patch
3+
'@react-native-mac/virtualized-lists': patch
4+
---
5+
6+
Bump version to 0.78.1

0 commit comments

Comments
 (0)