Updater build script

pull/1488/head
Jamie.Rees 7 years ago
parent d9be265abe
commit 70b8bc8e94

@ -24,6 +24,22 @@ after_build:
- dotnet publish -c Release -r ubuntu.16.10-x64
- dotnet publish -c Release -r debian.8-x64
- dotnet publish -c Release -r centos.7-x64
- dotnet publish "../Ombi.Updater" -c Release -r win10-x64
- dotnet publish "../Ombi.Updater" -c Release -r osx.10.12-x64
- dotnet publish "../Ombi.Updater" -c Release -r ubuntu.16.10-x64
- dotnet publish "../Ombi.Updater" -c Release -r debian.8-x64
- dotnet publish "../Ombi.Updater" -c Release -r centos.7-x64
# Copy over the updater files so we can include them in the .zip
- copy "../Ombi.Updater/bin/release/netcoreapp1.1/win10-x64/publish/Ombi.Updater.dll" "bin/Release/netcoreapp1.1/win10-x64/publish/Ombi.Updater.dll"
- copy "../Ombi.Updater/bin/release/netcoreapp1.1/win10-x64/publish/Ombi.Updater.dll" "bin/Release/netcoreapp1.1/win10-x64/publish/Ombi.Updater.exe"
- copy "../Ombi.Updater/bin/release/netcoreapp1.1/win10-x64/publish/Ombi.Updater.dll" "bin/Release/netcoreapp1.1/osx.10.12-x64/publish/Ombi.Updater.dll"
- copy "../Ombi.Updater/bin/release/netcoreapp1.1/win10-x64/publish/Ombi.Updater.dll" "bin/Release/netcoreapp1.1/osx.10.12-x64/publish/Ombi.Updater.exe"
- copy "../Ombi.Updater/bin/release/netcoreapp1.1/win10-x64/publish/Ombi.Updater.dll" "bin/Release/netcoreapp1.1/ubuntu.16.10-x64/publish/Ombi.Updater.dll"
- copy "../Ombi.Updater/bin/release/netcoreapp1.1/win10-x64/publish/Ombi.Updater.dll" "bin/Release/netcoreapp1.1/ubuntu.16.10-x64/publish/Ombi.Updater.exe"
- copy "../Ombi.Updater/bin/release/netcoreapp1.1/win10-x64/publish/Ombi.Updater.dll" "bin/Release/netcoreapp1.1/debian.8-x64/publish/Ombi.Updater.dll"
- copy "../Ombi.Updater/bin/release/netcoreapp1.1/win10-x64/publish/Ombi.Updater.dll" "bin/Release/netcoreapp1.1/debian.8-x64/publish/Ombi.Updater.exe"
- copy "../Ombi.Updater/bin/release/netcoreapp1.1/win10-x64/publish/Ombi.Updater.dll" "bin/Release/netcoreapp1.1/centos.7-x64/publish/Ombi.Updater.dll"
- copy "../Ombi.Updater/bin/release/netcoreapp1.1/win10-x64/publish/Ombi.Updater.dll" "bin/Release/netcoreapp1.1/centos.7-x64/publish/Ombi.Updater.exe"
- cmd: >-
7z a Ombi_windows.zip %APPVEYOR_BUILD_FOLDER%\src\Ombi\bin\Release\netcoreapp1.1\win10-x64\publish

@ -2,6 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<RuntimeIdentifiers>win10-x64;osx.10.12-x64;ubuntu.16.10-x64;debian.8-x64;centos.7-x64;</RuntimeIdentifiers>
<TargetFramework>netcoreapp1.1</TargetFramework>
</PropertyGroup>

@ -31,7 +31,7 @@
<Target Name="RunWebpack" AfterTargets="ComputeFilesToPublish">
<ItemGroup>
<DistFiles Include="wwwroot\dist\**" />
<ResolvedFileToPublish Include="@(DistFiles-&gt;'%(FullPath)')" Exclude="@(ResolvedFileToPublish)">
<ResolvedFileToPublish Include="@(DistFiles->'%(FullPath)')" Exclude="@(ResolvedFileToPublish)">
<RelativePath>%(DistFiles.Identity)</RelativePath>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</ResolvedFileToPublish>
@ -74,6 +74,7 @@
<ProjectReference Include="..\Ombi.Schedule\Ombi.Schedule.csproj" />
<ProjectReference Include="..\Ombi.Settings\Ombi.Settings.csproj" />
<ProjectReference Include="..\Ombi.TheMovieDbApi\Ombi.Api.TheMovieDb.csproj" />
<ProjectReference Include="..\Ombi.Updater\Ombi.Updater.csproj" />
</ItemGroup>
</Project>

Loading…
Cancel
Save