mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove unused .netrc file from CircleCI (#35785)
Summary: Removing a stale configuration that was configuring username/password before publishing to NPM. This is effectively unused + the Github Token there is invalid therefore can be removed. ## Changelog [INTERNAL] - Remove unused .netrc file from CircleCI Pull Request resolved: https://github.com/facebook/react-native/pull/35785 Test Plan: n/a Reviewed By: cipolleschi Differential Revision: D42385163 Pulled By: cortinico fbshipit-source-id: 0dbbf44459d59f792da4221d6100800a2f4efda2
This commit is contained in:
committed by
Ruslan Lesiutin
parent
a7876989ca
commit
0ff82dfd09
@@ -1496,10 +1496,6 @@ jobs:
|
||||
- equal: [ "nightly", << parameters.release_type >> ]
|
||||
steps:
|
||||
- run: echo "//registry.npmjs.org/:_authToken=${CIRCLE_NPM_TOKEN}" > ~/.npmrc
|
||||
- run: |
|
||||
git config --global user.email "react-native-bot@users.noreply.github.com"
|
||||
git config --global user.name "npm Deployment Script"
|
||||
echo "machine github.com login react-native-bot password $GITHUB_TOKEN" > ~/.netrc
|
||||
# END: Stables and nightlies
|
||||
|
||||
- run: node ./scripts/publish-npm.js --<< parameters.release_type >>
|
||||
|
||||
Reference in New Issue
Block a user