Skip to content

Commit 65b71a8

Browse files
authored
dont trash the 18.1 api (#278)
1 parent b77fb90 commit 65b71a8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎releaseDocs.ps1‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ if($checkBranch){
2525

2626
git checkout -b gh-pages_temp
2727
$items = Get-ChildItem
28+
$keepVersions = @("15.2", "16.1", "16.2", "17.0", "17.1", "17.2", "18.0", "18.1")
2829
foreach ($item in $items){
29-
if (($item.Name -ne "15.2") -and ($item.Name -ne "16.1") -and ($item.Name -ne "16.2") -and ($item.Name -ne "17.0") -and ($item.Name -ne "17.1") -and ($item.Name -ne "17.2")-and ($item.Name -ne "18.0")){
30+
if ($item.Name -notin $keepVersions){
3031
git rm $item -r
3132
}
3233
}

0 commit comments

Comments
 (0)