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

63 lines
1.6 KiB

version: 3.0.{build}
configuration: Release
7 years ago
os: Visual Studio 2017
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '3.0.0'
assembly_file_version: '{version}'
assembly_informational_version: '3.0.0'
before_build:
- ps: Update-NodeJsInstallation 7.8.0
7 years ago
- cmd: cd ombi/ombi
7 years ago
- node --version
7 years ago
- appveyor-retry dotnet restore
- appveyor-retry npm install bower -g
7 years ago
- appveyor-retry npm install -g gulp
7 years ago
- appveyor-retry npm install
7 years ago
- appveyor-retry bower install
7 years ago
- gulp publish
7 years ago
build_script:
- dotnet build
after_build:
7 years ago
- dotnet publish -c Release -r win10-x64
- dotnet publish -c Release -r osx.10.12-x64
- dotnet publish -c Release -r ubuntu.16.10-x64
- dotnet publish -c Release -r debian.8-x64
- cmd: >-
7z a Ombi_windows.zip %APPVEYOR_BUILD_FOLDER%\Ombi\Ombi\bin\Release\netcoreapp1.1\win10-x64\publish
7 years ago
7z a Ombi_osx.zip %APPVEYOR_BUILD_FOLDER%\Ombi\Ombi\bin\Release\netcoreapp1.1\osx.10.12-x64\publish
7 years ago
7z a Ombi_ubuntu.zip %APPVEYOR_BUILD_FOLDER%\Ombi\Ombi\bin\Release\netcoreapp1.1\ubuntu.16.10-x64\publish
7 years ago
7z a Ombi_debian.zip %APPVEYOR_BUILD_FOLDER%\Ombi\Ombi\bin\Release\netcoreapp1.1\debian.8-x64\publish
7 years ago
appveyor PushArtifact Ombi_windows.zip
7 years ago
7 years ago
appveyor PushArtifact Ombi_osx.zip
7 years ago
7 years ago
appveyor PushArtifact Ombi_ubuntu.zip
7 years ago
7 years ago
appveyor PushArtifact Ombi_debian.zip
7 years ago
7 years ago
cache:
- '%USERPROFILE%\.nuget\packages'
deploy:
- provider: GitHub
release: Ombi v$(appveyor_build_version)
auth_token:
secure: jDpp1/WUQl3uN41fNI3VeZoRZbDiDfs3GPQ1v+C5ZNE3cWdnUvuJfCCfUbYUV1Rp
draft: true
on:
branch: master