Fix build for bad azure update

This commit is contained in:
ta264 2020-01-19 19:28:04 +00:00 committed by Qstick
parent 1f99ccef38
commit 12cf1299f1
3 changed files with 6 additions and 24 deletions

View file

@ -27,23 +27,6 @@ UpdateVersionNumber()
fi
}
CleanFolder()
{
local path=$1
find $path -name "*.transform" -exec rm "{}" \;
echo "Removing FluentValidation.Resources files"
find $path -name "FluentValidation.resources.dll" -exec rm "{}" \;
find $path -name "App.config" -exec rm "{}" \;
echo "Removing vshost files"
find $path -name "*.vshost.exe" -exec rm "{}" \;
echo "Removing Empty folders"
find $path -depth -empty -type d -exec rm -r "{}" \;
}
LintUI()
{
ProgressStart 'ESLint'
@ -113,8 +96,6 @@ PackageFiles()
cp -r $outputFolder/Lidarr.Update/$framework/$runtime/publish $folder/Lidarr.Update
cp -r $outputFolder/UI $folder
CleanFolder $folder
echo "Adding LICENSE"
cp LICENSE.md $folder
}
@ -261,8 +242,6 @@ PackageTests()
cp geckodriver.exe "$testPackageFolder/$framework/win-x64/publish"
fi
CleanFolder "$testPackageFolder/$framework/$runtime"
ProgressEnd 'Creating Test Package'
}