File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ if (Test-Path ".\content\en\docs\$latestName"){
1414New-Item - ItemType Directory - Path " .\content\en\docs\$latestName \" - Force
1515# Copy contents of latest XXXX.X version into latest folder
1616Copy-Item - Path " .\content\en\docs\$Version \*" - Destination " .\content\en\docs\$latestName \" - Recurse - Force
17- Dir " .\content\en\docs\$latestName \" | Get-Childitem
1817# Replace the title name for the folder to be latest
1918(Get-Content .\content\en\docs\latest\_index.md) -replace $Version , " Latest" | Set-Content .\content\en\docs\latest\_index.md
2019
@@ -26,4 +25,3 @@ if (Test-Path ".\content\static\$latestName"){
2625New-Item - ItemType Directory - Path " .\content\static\$latestName \" - Force
2726# Copy contents of latest XXXX.X version into latest folder
2827Copy-Item - Path " .\content\static\$Version \*" - Destination " .\content\static\$latestName \" - Recurse - Force
29- Dir " .\content\static\$latestName \" | Get-Childitem
You can’t perform that action at this time.
0 commit comments