version: 1.0.{build}

branches:
  only:
    - master
    
# build Configuration, i.e. Debug, Release, etc.
configuration: Release

before_build:
- cmd: nuget restore NLog.Kafka.IncludingDemoApps.sln
build:
  project: NLog.Kafka.IncludingDemoApps.sln
  publish_nuget: false
  publish_nuget_symbols: false
  include_nuget_references: false
  verbosity: normal
  
after_build:
- nuget pack NLog.Targets.Kafka\NLog.Targets.Kafka.csproj 

artifacts:
  # pushing all *.nupkg files in directory
  path: '**/NLog.Targets.Kafka.*.nupkg'
  name: mypackage
  
deploy:
  provider: NuGet
  api_key:
    secure: exO8//WMx3fyPkwcZWlWHgjm5LdXUyoJUpWAyZgXSrijY8B+w/aRsSsJfHr8BAPy
  skip_symbols: true
  artifact: mypackage
  on:
    appveyor_repo_tag: true
version: 1.0.{build}

branches:
  only:
    - master
    
# build Configuration, i.e. Debug, Release, etc.
configuration: Release

before_build:
- cmd: nuget restore NLog.Kafka.IncludingDemoApps.sln
build:
  project: NLog.Kafka.IncludingDemoApps.sln
  publish_nuget: false
  publish_nuget_symbols: false
  include_nuget_references: false
  verbosity: normal
  
after_build:
- nuget pack NLog.Targets.Kafka\NLog.Targets.Kafka.csproj 

artifacts:
  # pushing all *.nupkg files in directory
  path: 'NLog.Targets.Kafka.*.nupkg'
  name: mypackage
  
deploy:
  provider: NuGet
  api_key:
    secure: exO8//WMx3fyPkwcZWlWHgjm5LdXUyoJUpWAyZgXSrijY8B+w/aRsSsJfHr8BAPy
  skip_symbols: true
  artifact: mypackage
  on:
    appveyor_repo_tag: true
Update build settings, fix nupack publish from path
Update build settings, fix nupack publish from path
