1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-03-05 13:21:25 -05:00

Fix build for bad azure update

This commit is contained in:
ta264
2020-01-19 19:28:04 +00:00
parent 6cb504cb08
commit 92f7b25117
3 changed files with 6 additions and 27 deletions

View File

@@ -25,23 +25,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'
@@ -105,8 +88,6 @@ PackageFiles()
cp -r $outputFolder/Radarr.Update/$framework/$runtime/publish $folder/Radarr.Update
cp -r $outputFolder/UI $folder
CleanFolder $folder
echo "Adding LICENSE"
cp LICENSE $folder
}
@@ -209,8 +190,6 @@ PackageTests()
unzip -o gecko.zip
cp geckodriver.exe $testPackageFolder/netcoreapp3.1/win-x64/publish
CleanFolder $testPackageFolder
ProgressEnd 'Creating Test Package'
}