mirror of https://github.com/Ombi-app/Ombi
37 lines
891 B
37 lines
891 B
version: 3.0.{build}
|
|
configuration: Release
|
|
os: Visual Studio 2017
|
|
environment:
|
|
nodejs_version: "7.8.0"
|
|
|
|
install:
|
|
# Get the latest stable version of Node.js or io.js
|
|
- ps: Install-Product node $env:nodejs_version
|
|
build_script:
|
|
- ps: ./build.ps1 --settings_skipverification=true
|
|
|
|
after_build:
|
|
- cmd: >-
|
|
|
|
appveyor PushArtifact "%APPVEYOR_BUILD_FOLDER%\src\Ombi\bin\Release\netcoreapp2.0\windows.zip"
|
|
|
|
|
|
appveyor PushArtifact "%APPVEYOR_BUILD_FOLDER%\src\Ombi\bin\Release\netcoreapp2.0\osx.tar.gz"
|
|
|
|
|
|
appveyor PushArtifact "%APPVEYOR_BUILD_FOLDER%\src\Ombi\bin\Release\netcoreapp2.0\linux.tar.gz"
|
|
|
|
|
|
|
|
#cache:
|
|
#- '%USERPROFILE%\.nuget\packages'
|
|
deploy:
|
|
- provider: GitHub
|
|
release: Ombi v$(appveyor_build_version)
|
|
auth_token:
|
|
secure: jDpp1/WUQl3uN41fNI3VeZoRZbDiDfs3GPQ1v+C5ZNE3cWdnUvuJfCCfUbYUV1Rp
|
|
draft: true
|
|
on:
|
|
branch: master
|
|
|