File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 89
89
git config --global user.name "Timothy Wamalwa"
90
90
cd microsoftgraph-docs-powershell
91
91
$date = Get-Date -Format "dd-MM-yyyy"
92
- $proposedBranch = "weekly_update_help_files_msprodvaluesOne "+$date
92
+ $proposedBranch = "weekly_update_help_files_msprodvaluesTwo "+$date
93
93
git add .
94
94
git commit -m "Updating help files "+$date
95
95
git push --set-upstream "https://$(GITHUB_TOKEN)@github.com/MicrosoftDocs/microsoftgraph-docs-powershell.git" $proposedBranch
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ function Get-ExternalDocs-Url {
166
166
}
167
167
168
168
if ($MethodName -eq " DELETE" ) {
169
- $externalDocUrl = $path [$UriPath ].delete.externalDocs.url
169
+ $ExternalDocUrl = $path [$UriPath ].delete.externalDocs.url
170
170
}
171
171
172
172
if ($MethodName -eq " PUT" ) {
@@ -227,15 +227,15 @@ function WebScrapping {
227
227
}
228
228
}
229
229
# Remove double qoutes from ms prod
230
- $MsprodContent = $MsprodContent.Trim ( ' " ' );
230
+ $MsprodContent = $MsprodContent.Replace ( " `" " , " " )
231
231
$MetaDataText = " schema: 2.0.0`r`n $MsprodContent "
232
232
(Get-Content $File ) |
233
233
Foreach-Object { $_ -replace ' schema: 2.0.0' , $MetaDataText } |
234
234
Out-File $File
235
235
}
236
236
Set-Location microsoftgraph- docs- powershell
237
237
$date = Get-Date - Format " dd-MM-yyyy"
238
- $proposedBranch = " weekly_update_help_files_msprodvaluesOne " + $date
238
+ $proposedBranch = " weekly_update_help_files_msprodvaluesTwo " + $date
239
239
$exists = git branch - l $proposedBranch
240
240
if ([string ]::IsNullOrEmpty($exists )) {
241
241
git checkout - b $proposedBranch
You can’t perform that action at this time.
0 commit comments