File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ function doPublish() {
30
30
31
31
exec ( `git config --global user.email "[email protected] "` ) ;
32
32
exec ( `git config --global user.name "React-Native Build"` ) ;
33
+ exec ( `git remote set-url origin https://rnbot:${ process . env . GIT_TOKEN } @github.com/microsoft/react-native.git` ) ;
33
34
34
35
exec ( `git add ${ pkgJsonPath } ` ) ;
35
36
exec ( `git commit -m "Applying package update to ${ releaseVersion } ` ) ;
Original file line number Diff line number Diff line change 60
60
env :
61
61
BUILD_STAGINGDIRECTORY : ${{ runner.temp }}\final
62
62
BUILD_SOURCEBRANCH : ${{ github.ref }}
63
+ GIT_TOKEN : ${{ secrets.GIT_TOKEN }}
63
64
64
65
- name : Set NuGet source
65
66
run : nuget sources add -name nugetfeed -source ${{ secrets.NUGET_FEED }} -username anything -password ${{ secrets.NUGET_AUTH }}
You can’t perform that action at this time.
0 commit comments