mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
Updater build script
This commit is contained in:
parent
d9be265abe
commit
70b8bc8e94
3 changed files with 19 additions and 1 deletions
16
appveyor.yml
16
appveyor.yml
|
@ -24,6 +24,22 @@ after_build:
|
||||||
- dotnet publish -c Release -r ubuntu.16.10-x64
|
- dotnet publish -c Release -r ubuntu.16.10-x64
|
||||||
- dotnet publish -c Release -r debian.8-x64
|
- dotnet publish -c Release -r debian.8-x64
|
||||||
- dotnet publish -c Release -r centos.7-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: >-
|
- cmd: >-
|
||||||
7z a Ombi_windows.zip %APPVEYOR_BUILD_FOLDER%\src\Ombi\bin\Release\netcoreapp1.1\win10-x64\publish
|
7z a Ombi_windows.zip %APPVEYOR_BUILD_FOLDER%\src\Ombi\bin\Release\netcoreapp1.1\win10-x64\publish
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<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>
|
<TargetFramework>netcoreapp1.1</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
<Target Name="RunWebpack" AfterTargets="ComputeFilesToPublish">
|
<Target Name="RunWebpack" AfterTargets="ComputeFilesToPublish">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<DistFiles Include="wwwroot\dist\**" />
|
<DistFiles Include="wwwroot\dist\**" />
|
||||||
<ResolvedFileToPublish Include="@(DistFiles->'%(FullPath)')" Exclude="@(ResolvedFileToPublish)">
|
<ResolvedFileToPublish Include="@(DistFiles->'%(FullPath)')" Exclude="@(ResolvedFileToPublish)">
|
||||||
<RelativePath>%(DistFiles.Identity)</RelativePath>
|
<RelativePath>%(DistFiles.Identity)</RelativePath>
|
||||||
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
||||||
</ResolvedFileToPublish>
|
</ResolvedFileToPublish>
|
||||||
|
@ -74,6 +74,7 @@
|
||||||
<ProjectReference Include="..\Ombi.Schedule\Ombi.Schedule.csproj" />
|
<ProjectReference Include="..\Ombi.Schedule\Ombi.Schedule.csproj" />
|
||||||
<ProjectReference Include="..\Ombi.Settings\Ombi.Settings.csproj" />
|
<ProjectReference Include="..\Ombi.Settings\Ombi.Settings.csproj" />
|
||||||
<ProjectReference Include="..\Ombi.TheMovieDbApi\Ombi.Api.TheMovieDb.csproj" />
|
<ProjectReference Include="..\Ombi.TheMovieDbApi\Ombi.Api.TheMovieDb.csproj" />
|
||||||
|
<ProjectReference Include="..\Ombi.Updater\Ombi.Updater.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue