mirror of https://github.com/SixLabors/ImageSharp
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.
52 lines
1.4 KiB
52 lines
1.4 KiB
version: v1.0.0.{build}
|
|
os: Visual Studio 2015
|
|
|
|
init:
|
|
- ps: iex ((new-object net.webclient).DownloadString('https://gist.githubusercontent.com/PureKrome/0f79e25693d574807939/raw/8cf3160c9516ef1f4effc825c0a44acc918a0b5a/appveyor-build-info.ps'))
|
|
|
|
install:
|
|
# Use the install script to grab the latest dotnet install
|
|
- ps: iex .\dotnet-latest.ps1
|
|
|
|
# Prepend newly installed dotnet cli to the PATH of this build (this cannot be
|
|
# done from inside the powershell script as it would require to restart
|
|
# the parent CMD process).
|
|
- "SET PATH=C:\\Program Files\\dotnet\\bin;%PATH%"
|
|
|
|
assembly_info:
|
|
patch: true
|
|
file: '**\AssemblyInfo.*'
|
|
assembly_version: '1.0.0.{build}'
|
|
assembly_file_version: '1.0.0.{build}'
|
|
|
|
before_build:
|
|
- cmd: >-
|
|
dotnet restore src\ImageProcessorCore
|
|
|
|
cd build
|
|
|
|
npm install
|
|
|
|
node appveyor-project-version-patch.js
|
|
|
|
cd..
|
|
|
|
build_script:
|
|
- cmd: >-
|
|
dotnet pack src\ImageProcessorCore --configuration Release --output "artifacts\bin\ImageProcessorCore"
|
|
|
|
test: off
|
|
|
|
artifacts:
|
|
- path: artifacts\bin\ImageProcessorCore\**\*.nupkg
|
|
|
|
deploy:
|
|
# MyGet Deployment for builds & releases
|
|
- provider: NuGet
|
|
server: https://www.myget.org/F/imageprocessor/api/v2/package
|
|
symbol_server: https://www.myget.org/F/imageprocessor/api/v2/package # https://nuget.symbolsource.org/MyGet/imageprocessor
|
|
api_key:
|
|
secure: fz0rUrt3B1HczUC1ZehwVsrFSWX9WZGDQoueDztLte9/+yQG+BBU7UrO+coE8lUf
|
|
artifact: /.*\.nupkg/
|
|
on:
|
|
branch: Core
|
|
|