Delete not longer needed *.srcsrv files

This commit is contained in:
lukeIam committed 2017-12-22 17:12:28 +01:00
1 parent 20f1f98e22
commit ba4fe94a6e
1 file changed
+5 -2
+5 -2
View File
@@ -1,10 +1,13 @@
choco install gitlink --version 3.1.0-unstable0017 --pre --no-progress --limit-output
Get-ChildItem -Path ".\Output" -Recurse "*.pdb" | %{
Get-ChildItem -Path ".\Output" -Recurse "*.pdb" | %{
If ($_.Fullname -contains 'PitchTracker.pdb'){
& gitlink -u "`"https://github.com/$($Env:APPVEYOR_REPO_NAME)`"" -a --baseDir "`"$Env:APPVEYOR_BUILD_FOLDER`"" --commit "`"$Env:APPVEYOR_REPO_COMMIT`"" "`"$($_.Fullname)`""
}
else{
& gitlink -u "`"https://github.com/$($Env:APPVEYOR_REPO_NAME)`"" --baseDir "`"$Env:APPVEYOR_BUILD_FOLDER`"" --commit "`"$Env:APPVEYOR_REPO_COMMIT`"" "`"$($_.Fullname)`""
}
}
}
# srcsrv were integrated in the pdb files -> delete the srcsrv files
Remove-Item ".\Output\*.pdb.srcsrv"