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:
21
build.sh
21
build.sh
@@ -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'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user