File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ function doPublish() {
57
57
58
58
const assetUpdateUrl = `https://uploads.github.com/repos/microsoft/react-native/releases/{id}/assets?name=react-native-${ releaseVersion } .tgz` ;
59
59
const authHeader =
60
- "Basic " + new Buffer ( ":" + process . env . SYSTEM_ACCESSTOKEN ) . toString ( "base64" ) ;
60
+ "Basic " + new Buffer ( ":" + process . env . githubApiToken ) . toString ( "base64" ) ;
61
61
const userAgent = "Microsoft-React-Native-Release-Agent" ;
62
62
63
63
let uploadReleaseAssetUrl = "" ;
Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ jobs:
119
119
BUILD_STAGINGDIRECTORY : $(Build.StagingDirectory)
120
120
BUILD_SOURCEBRANCH : $(Build.SourceBranch)
121
121
SYSTEM_ACCESSTOKEN : $(System.AccessToken)
122
+ githubApiToken : $(githubApiToken)
122
123
123
124
- task : PublishBuildArtifacts@1
124
125
displayName : ' Publish final artifacts'
You can’t perform that action at this time.
0 commit comments