image: Visual Studio 2017

skip_commits:
  files:
    - '**/*.md'

build_script:
  - cmd: msbuild src/Xablu.WebApiClient.sln /t:restore
  - cmd: msbuild src/Xablu.WebApiClient.sln /t:pack /p:PackageOutputPath=%APPVEYOR_BUILD_FOLDER%

artifacts:
  - path: 'Xablu.WebApiClient.*.nupkg'

deploy:
  provider: NuGet
  server: https://www.myget.org/F/xabluhq/api/v2/package
  api_key:
    secure: Ln3idOZxx941W5Hdj52B/FtCjABI78wXBFJrqKZ0i9oiVn0e30sq4AB+XFYys611gncTC9UKFVlpep06kXuJcIUYtfFl64aVG96L9+xHnMQ=
  artifact: /.*\.nupkg/
-
  branches:
      only:
        - master

  version: 1.1.{build}

  image: Visual Studio 2017
  
  skip_commits:
    files:
      - '**/*.md'
  
  build_script:
    - cmd: msbuild src/Xablu.WebApiClient.sln /t:restore
    - cmd: msbuild src/Xablu.WebApiClient.sln /t:pack /p:Configuration=Release /p:PackageOutputPath=%APPVEYOR_BUILD_FOLDER%
  
  artifacts:
    - path: 'Xablu.WebApiClient.*.nupkg'
  
  deploy:
    provider: NuGet
    server: https://www.nuget.org/api/v2/package
    api_key:
      secure: Fa1CPP5b0AEtKdI1cPJOwFalpn/bKgcbBYw6KFdSN7S2YIn9hQsNcgDEmc5EnPhD
    artifact: /.*\.nupkg/
-
  branches:
      only:
        - feature/plugify

  version: 1.1.{build}

  image: Visual Studio 2017
  
  skip_commits:
    files:
      - '**/*.md'
  
  build_script:
    - cmd: msbuild src/Xablu.WebApiClient.sln /t:restore
    - cmd: msbuild src/Xablu.WebApiClient.sln /t:pack /p:PackageOutputPath=%APPVEYOR_BUILD_FOLDER%
  
  artifacts:
    - path: 'Xablu.WebApiClient.*.nupkg'
  
  deploy:
    provider: NuGet
    server: https://www.myget.org/F/xabluhq/api/v2/package
    api_key:
      secure: tyxmEfZy6Pn3y6WrIGSElHFII1LpMaArT2Sv+zTEcIp1/l8Y2L2rHO+XoG2vXUDg
    artifact: /.*\.nupkg/
Add MyGet and NuGet configuration to AppVeyor
Add MyGet and NuGet configuration to AppVeyor
