File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ if (Test-Path ".\content\en\docs\$latestName"){
1313# Create new latest docs folder
1414New-Item - ItemType Directory - Path " .\content\en\docs\$latestName \" - Force
1515# Copy contents of latest XXXX.X version into latest folder
16- Copy-Item - Path " .\content\en\docs\$Version \*" - Destination " .\content\en\docs\$latestName \" - Recurse - Force - Verbose
16+ Copy-Item - Path " .\content\en\docs\$Version \*" - Destination " .\content\en\docs\$latestName \" - Recurse - Force
17+ Dir " .\content\en\docs\$latestName \" | Get-Childitem
1718# Replace the title name for the folder to be latest
1819(Get-Content .\content\en\docs\latest\_index.md) -replace $Version , " Latest" | Set-Content .\content\en\docs\latest\_index.md
1920
@@ -24,4 +25,5 @@ if (Test-Path ".\content\static\$latestName"){
2425# Create new latest static folder
2526New-Item - ItemType Directory - Path " .\content\static\$latestName \" - Force
2627# Copy contents of latest XXXX.X version into latest folder
27- Copy-Item - Path " .\content\static\$Version \*" - Destination " .\content\static\$latestName \" - Recurse - Force - Verbose
28+ Copy-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