version: 1.1.0.{build}

configuration:
    Release

assembly_info:
    patch: true
    file: AssemblyInfo.*
    assembly_version: "{version}"
    assembly_file_version: "{version}"
    assembly_informational_version: "{version}"

build:
    project: Wox.sln

after_test:
    ps: .\deploy\nuget\pack.ps1

deploy:
    provider: NuGet
    api_key:
        secure: yybUOFgBuGVpbmOVZxsurC8OpkClzt9dR+/54WpMWcq6b6oyMatciaelRPnXsjRn
    artifact: nugetpackage

artifacts:
    - path: Output\Release
      name: release-binary 

    - path: '*.nupkg'
      name: nugetpackage

version: 1.1.0.{build}

configuration:
    Release

assembly_info:
    patch: true
    file: AssemblyInfo.*
    assembly_version: "{version}"
    assembly_file_version: "{version}"
    assembly_informational_version: "{version}"

build:
    project: Wox.sln

after_test:
    ps: .\deploy\nuget\pack.ps1

deploy:
    provider: NuGet
    api_key:
        secure: yybUOFgBuGVpbmOVZxsurC8OpkClzt9dR+/54WpMWcq6b6oyMatciaelRPnXsjRn
    artifact: nugetpackage
    on:
        branch: master

artifacts:
    - path: Output\Release
      name: release-binary 

    - path: '*.nupkg'
      name: nugetpackage

Deploy nuget only when commits on master branch.
Deploy nuget only when commits on master branch.
