version: 0.8.{build}
branches:
  only:
  - master
pull_requests:
  do_not_increment_build_number: true
install:
  - nuget install secure-file -ExcludeVersion
  - ps: .\build\decrypt-snk.ps1
  - ps: .\build\install.ps1
build_script:
- ps: .\build\build.ps1 $env:APPVEYOR_BUILD_VERSION $env:APPVEYOR_REPO_TAG_NAME
test_script:
- ps: .\build\test.ps1
artifacts:
- path: '**\*.nupkg'
deploy:
- provider: NuGet
  api_key:
    secure: 1nn64UqEOt8KQKQxhOYB+kV+fq8GySg8KXhiEZfeKq09GOCvCSAhwSiHuv2TmzzN
  skip_symbols: true
  artifact: /.*\.nupkg/
  on:
      branch: master                # release from master branch only
      appveyor_repo_tag: true       # deploy on tag push only
environment:
  ENCRYPTION_KEY:
    secure: hbiBHn0JfRy73jn/e8rUKMI5Z3T78zXCmpD8dRexuc3uJivS5I5WNf6JiZOdEM8G

version: 0.8.{build}
branches:
  only:
  - master
pull_requests:
  do_not_increment_build_number: true
install:
  - nuget install secure-file -ExcludeVersion
  - ps: .\build\decrypt-snk.ps1
  - ps: .\build\install.ps1
build_script:
- ps: .\build\build.ps1 $env:APPVEYOR_BUILD_VERSION $env:APPVEYOR_REPO_TAG_NAME
test_script:
- ps: .\build\test.ps1
artifacts:
- path: '**\*.nupkg'
deploy:
- provider: NuGet
  api_key:
    secure: pNzGmk+a6w7IpZ1wfiXemLtVAt9YSWtHVHjmbS8yDnDMaH5iY9Zuw34sRP8DianW
  skip_symbols: true
  artifact: /.*\.nupkg/
  on:
      branch: master                # release from master branch only
      appveyor_repo_tag: true       # deploy on tag push only
environment:
  ENCRYPTION_KEY:
    secure: hbiBHn0JfRy73jn/e8rUKMI5Z3T78zXCmpD8dRexuc3uJivS5I5WNf6JiZOdEM8G

Update NuGet API key due to old key expiring
Update NuGet API key due to old key expiring
