version: 0.0.{build}-beta

image: Visual Studio 2017

configuration: Release

dotnet_csproj:
  patch: true
  file: '**\*.csproj'
  version: '{version}'
  package_version: '{version}'

install:
  - ps : dotnet --version
  - ps : dotnet restore

build_script:
  - ps : dotnet build -c $env:configuration

before_package:
  - ps : dotnet pack -c $env:configuration --no-build --include-symbols

test_script:
  - ps : dotnet test tests\Kevsoft.Ssml.Tests\Kevsoft.Ssml.Tests.csproj -c $env:configuration --no-build --no-restore

artifacts:
  - path: '**\*.nupkg'

deploy:
  - provider: Environment
    name: NuGet.org
    on:
      branch: master
version: 0.0.{build}-beta

image: Visual Studio 2017

configuration: Release

dotnet_csproj:
  patch: true
  file: '**\*.csproj'
  version: '{version}'
  package_version: '{version}'

install:
  - ps : dotnet --version
  - ps : dotnet restore

build_script:
  - ps : dotnet build -c $env:configuration

after_build:
  - ps : dotnet pack -c $env:configuration --no-build --include-symbols

test_script:
  - ps : dotnet test tests\Kevsoft.Ssml.Tests\Kevsoft.Ssml.Tests.csproj -c $env:configuration --no-build --no-restore

artifacts:
  - path: '**\*.nupkg'

deploy:
  - provider: Environment
    name: NuGet.org
    on:
      branch: master
Change packing to be after_build.
Change packing to be after_build.
