Skip to content

Commit

Permalink
Update Approver file content for deleting generated *.yml files befor…
Browse files Browse the repository at this point in the history
…e pushing new ones on Dev branch (#5563)
  • Loading branch information
georgechenchao authored and derekbekoe committed Feb 13, 2018
1 parent 15c1c9c commit 821776f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion appveyor-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ on_success:
{
$folderPath = [System.IO.Path]::Combine("$env:TEMP\azure-cli-content", $folder)
$subFolders = Get-ChildItem -Path $folderPath -Directory -Name
if ($subFolders -contains "$env:YML_OUTPUT_FOLDER" -and $subFolders -contains "$env:CONCEPTUAL_DOC_FOLDER")
if ($subFolders -contains "$env:YML_OUTPUT_FOLDER")
{
$docsRefAutogenFolder = [System.IO.Path]::Combine($folderPath, "$env:YML_OUTPUT_FOLDER")
Get-ChildItem -Path $docsRefAutogenFolder | Remove-Item -Force -Recurse
Expand Down
2 changes: 1 addition & 1 deletion appveyor-mooncake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ build_script:
{
$folderPath = [System.IO.Path]::Combine("$env:TEMP\azure-cli-content", $folder)
$subFolders = Get-ChildItem -Path $folderPath -Directory -Name
if ($subFolders -contains "$env:YML_OUTPUT_FOLDER" -and $subFolders -contains "$env:CONCEPTUAL_DOC_FOLDER")
if ($subFolders -contains "$env:YML_OUTPUT_FOLDER")
{
$docsRefAutogenFolder = [System.IO.Path]::Combine($folderPath, "$env:YML_OUTPUT_FOLDER")
Get-ChildItem -Path $docsRefAutogenFolder | Remove-Item -Force -Recurse
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ on_success:
{
$folderPath = [System.IO.Path]::Combine("$env:TEMP\azure-cli-content", $folder)
$subFolders = Get-ChildItem -Path $folderPath -Directory -Name
if ($subFolders -contains "$env:YML_OUTPUT_FOLDER" -and $subFolders -contains "$env:CONCEPTUAL_DOC_FOLDER")
if ($subFolders -contains "$env:YML_OUTPUT_FOLDER")
{
$docsRefAutogenFolder = [System.IO.Path]::Combine($folderPath, "$env:YML_OUTPUT_FOLDER")
Get-ChildItem -Path $docsRefAutogenFolder | Remove-Item -Force -Recurse
Expand Down

0 comments on commit 821776f

Please sign in to comment.