You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ombi/appveyor.yml

42 lines
1.3 KiB

version: 2.2.{build}
configuration: Release
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '2.2.0'
assembly_file_version: '{version}'
assembly_informational_version: '2.2.0'
7 years ago
7 years ago
before_build:
7 years ago
- cmd: dotnet restore
- cmd: npm install
7 years ago
- cmd: dotnet publish -c Release -r win10-x64
- cmd: dotnet publish -c Release -r osx.10.12-x64
- cmd: dotnet publish -c Release -r ubuntu.16.10-x64
- cmd: dotnet publish -c Release -r debian.8-x64
build:
verbosity: minimal
7 years ago
project: Ombi/Ombi.sln
after_build:
- cmd: >-
7 years ago
7z a OmbiWidnows.zip %APPVEYOR_BUILD_FOLDER%\Ombi\Ombi\bin\Release\netcoreapp1.0\win10-x64\publish
7z a OmbiUbuntu.zip %APPVEYOR_BUILD_FOLDER%\Ombi\Ombi\bin\Release\netcoreapp1.0\ubuntu.16.10-x64\publish
7z a OmbiOsx.zip %APPVEYOR_BUILD_FOLDER%\Ombi\Ombi\bin\Release\netcoreapp1.0\osx.10.12-x64\publish
7z a OmbiDebian.zip %APPVEYOR_BUILD_FOLDER%\Ombi\Ombi\bin\Release\netcoreapp1.0\debian.8-x64\publish
7 years ago
appveyor PushArtifact OmbiWindows.zip
appveyor PushArtifact OmbiUbuntu.zip
appveyor PushArtifact OmbiOsx.zip
appveyor PushArtifact OmbiDebian.zip
deploy:
- provider: GitHub
release: Ombi v$(appveyor_build_version)
auth_token:
secure: jDpp1/WUQl3uN41fNI3VeZoRZbDiDfs3GPQ1v+C5ZNE3cWdnUvuJfCCfUbYUV1Rp
draft: true
on:
branch: master