File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -220,7 +220,6 @@ steps:
220
220
.\sign code azure-key-vault `
221
221
"**/*.nupkg" `
222
222
--base-directory "$(Build.ArtifactStagingDirectory)" `
223
- --file-list "$(Build.Repository.LocalPath)\config\filelist.txt" `
224
223
--description ".NET nanoFramework Debugger" `
225
224
--description-url "https://github.com/$env:Build_Repository_Name" `
226
225
--azure-key-vault-tenant-id "$(SignTenantId)" `
@@ -330,7 +329,7 @@ steps:
330
329
targetType : filePath
331
330
filePath : azure-pipelines/update-dependents.ps1
332
331
env :
333
- GH_TOKEN : $(GitHubToken)
332
+ GITHUB_TOKEN : $(GitHubToken)
334
333
335
334
# step from template @ nf-tools repo
336
335
# report error
Original file line number Diff line number Diff line change 5
5
6
6
# compute authorization header in format "AUTHORIZATION: basic 'encoded token'"
7
7
# 'encoded token' is the Base64 of the string "nfbot:personal-token"
8
- $auth = " basic $ ( [System.Convert ]::ToBase64String([System.Text.Encoding ]::UTF8.GetBytes(" nfbot:$env: GH_TOKEN " ))) "
8
+ $auth = " basic $ ( [System.Convert ]::ToBase64String([System.Text.Encoding ]::UTF8.GetBytes(" nfbot:$env: GITHUB_TOKEN " ))) "
9
9
10
10
# because it can take sometime for the package to become available on the NuGet providers
11
11
# need to hang here for 1 minutes (1 * 60)
@@ -133,6 +133,12 @@ if ($repoStatus -ne "")
133
133
$result = Invoke-RestMethod - Method Post - UserAgent [Microsoft.PowerShell.Commands.PSUserAgent ]::InternetExplorer - Uri $githubApiEndpoint - Header $headers - ContentType " application/json" - Body $prRequestBody
134
134
' Started PR with dependencies update...' | Write-Host - NoNewline
135
135
' OK' | Write-Host - ForegroundColor Green
136
+
137
+ # add labels to PR
138
+ $prNumber = $result.number
139
+
140
+ gh pr edit $prNumber -- add-label " VS2019"
141
+ gh pr edit $prNumber -- add-label " VS2022"
136
142
}
137
143
catch
138
144
{
You can’t perform that action at this time.
0 commit comments