Skip to content

Commit 6330d05

Browse files
committed
Preparing reference docs for GA
1 parent 71e1c9e commit 6330d05

File tree

2 files changed

+35
-30
lines changed

2 files changed

+35
-30
lines changed

azure-pipelines/powershell-docs.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -53,37 +53,37 @@ jobs:
5353
pwsh: true
5454
filePath: microsoftgraph-docs-powershell\scripts\FileCopy.ps1
5555

56-
- task: PowerShell@2
57-
displayName: 'Update Powershell Help'
58-
continueOnError: false
59-
inputs:
60-
targetType: 'filePath'
61-
pwsh: true
62-
filePath: microsoftgraph-docs-powershell\microsoftgraph\UpdateHelp.ps1
56+
# - task: PowerShell@2
57+
# displayName: 'Update Powershell Help'
58+
# continueOnError: false
59+
# inputs:
60+
# targetType: 'filePath'
61+
# pwsh: true
62+
# filePath: microsoftgraph-docs-powershell\microsoftgraph\UpdateHelp.ps1
6363

64-
- task: PowerShell@2
65-
displayName: 'Escape disallowed html tags'
66-
continueOnError: false
67-
inputs:
68-
targetType: 'filePath'
69-
pwsh: true
70-
filePath: microsoftgraph-docs-powershell\microsoftgraph\EscapeDisallowedHtmlTags.ps1
64+
# - task: PowerShell@2
65+
# displayName: 'Escape disallowed html tags'
66+
# continueOnError: false
67+
# inputs:
68+
# targetType: 'filePath'
69+
# pwsh: true
70+
# filePath: microsoftgraph-docs-powershell\microsoftgraph\EscapeDisallowedHtmlTags.ps1
7171

72-
- task: PowerShell@2
73-
displayName: 'Update metadata header'
74-
continueOnError: false
75-
inputs:
76-
targetType: 'filePath'
77-
pwsh: true
78-
filePath: microsoftgraph-docs-powershell\scripts\MsProdUpdate.ps1
72+
# - task: PowerShell@2
73+
# displayName: 'Update metadata header'
74+
# continueOnError: false
75+
# inputs:
76+
# targetType: 'filePath'
77+
# pwsh: true
78+
# filePath: microsoftgraph-docs-powershell\scripts\MsProdUpdate.ps1
7979

80-
- task: PowerShell@2
81-
displayName: 'Update Links'
82-
continueOnError: false
83-
inputs:
84-
targetType: 'filePath'
85-
pwsh: true
86-
filePath: microsoftgraph-docs-powershell\scripts\UpdateLinks.ps1
80+
# - task: PowerShell@2
81+
# displayName: 'Update Links'
82+
# continueOnError: false
83+
# inputs:
84+
# targetType: 'filePath'
85+
# pwsh: true
86+
# filePath: microsoftgraph-docs-powershell\scripts\UpdateLinks.ps1
8787

8888
- task: PowerShell@2
8989
displayName: Pushing to github
@@ -97,7 +97,7 @@ jobs:
9797
git config --global user.name "Timothy Wamalwa"
9898
cd microsoftgraph-docs-powershell
9999
$date = Get-Date -Format "dd-MM-yyyy"
100-
$proposedBranch = "weekly_v2_docs_update_$date"
100+
$proposedBranch = "File_copy_test1"
101101
git add .
102102
git commit -m "Updating help files "+$date
103103
git push --set-upstream "https://$(GITHUB_TOKEN)@github.com/MicrosoftDocs/microsoftgraph-docs-powershell.git" $proposedBranch

scripts/FileCopy.ps1

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ function Start-Copy {
2828
}
2929
Get-FilesByProfile -GraphProfile $graphProfile -GraphProfilePath $profilePath -ModulePrefix $ModulePrefix -ModulesToGenerate $ModulesToGenerate
3030
}
31+
git config --global user.email "[email protected]"
32+
git config --global user.name "Timothy Wamalwa"
33+
git add .
34+
git commit -m "Updating files from the sdk"
3135
}
3236
function Get-FilesByProfile{
3337
Param(
@@ -95,7 +99,8 @@ function Copy-Files{
9599

96100
Set-Location microsoftgraph-docs-powershell
97101
$date = Get-Date -Format "dd-MM-yyyy"
98-
$proposedBranch = "weekly_v2_docs_update_$date"
102+
#$proposedBranch = "weekly_v2_docs_update_$date"
103+
$proposedBranch = "File_copy_test1"
99104
$exists = git branch -l $proposedBranch
100105
if ([string]::IsNullOrEmpty($exists)) {
101106
git checkout -b $proposedBranch

0 commit comments

Comments
 (0)