version: 1.6.2.{build}
configuration: Debug
image: Visual Studio 2015

environment:
  packageVersion: 1.6.2

assembly_info:
  patch: true
  file: '**\AssemblyInfo.cs'
  assembly_version: '{version}'
  assembly_file_version: '{version}'

nuget:
  account_feed: false
  project_feed: false

before_build:
- cmd: nuget restore Sources\ManagedIrbis.sln

build:
  project: Sources\ManagedIrbis.sln
  publish_nuget: false
  parallel: true
  verbosity: minimal

after_build:
- cmd: compile.cmd
- cmd: compilecore.cmd
- cmd: cd Nuget
- cmd: packit.cmd

artifacts:
  - path: Binaries
    name: ManagedIrbis
  - path: Nuget\*.nupkg
    name: Nuget

deploy:
- provider: FTP
  host: 77.222.42.228
  protocol: ftp
  username: alexeymnet_ftp
  password:
    secure: sLbeQTSV54foCg741X7Quw==
  artifact: ManagedIrbis,Nuget

version: 1.6.2.{build}
configuration: Debug
image: Visual Studio 2015

environment:
  packageVersion: 1.6.2

assembly_info:
  patch: true
  file: '**\AssemblyInfo.cs'
  assembly_version: '{version}'
  assembly_file_version: '{version}'

nuget:
  account_feed: false
  project_feed: false

before_build:
- cmd: nuget restore Sources\ManagedIrbis.sln

build:
  project: Sources\ManagedIrbis.sln
  publish_nuget: false
  parallel: true
  verbosity: minimal

after_build:
- cmd: compile.cmd
- cmd: compilecore.cmd
- cmd: cd Nuget
- cmd: packit.cmd

artifacts:
  - path: Binaries
    name: ManagedIrbis
  - path: Nuget\*.nupkg
    name: Nuget

deploy:
- provider: FTP
  host: 77.222.42.228
  protocol: ftp
  username: alexeymnet_ftp
  password:
    secure: sLbeQTSV54foCg741X7Quw==
  artifact: ManagedIrbis,Nuget
- provider: NuGet
  api_key:
    secure: IZZIZyDbjfCXEftqtCgTr/96da50AnxLND8VzxN/rtE62bGXxsAz7N97G8nYAyQB
  skip_symbols: true
  artifact: Nuget

Edit appveyour.yml for Nuget deployment
Edit appveyour.yml for Nuget deployment
