#--------------------------------------------------
# Version
#--------------------------------------------------
version: '{build}'  

#--------------------------------------------------
# Branch whitelist
#--------------------------------------------------
branches:
  # Whitelist
  only:
    - master

#--------------------------------------------------
# After cloning repository
#--------------------------------------------------
install:
  - git submodule init
  - git submodule update

#--------------------------------------------------
# Build configuration
#--------------------------------------------------
configuration: Release

#--------------------------------------------------
# Assembly version patching
#-------------------------------------------------- 
assembly_info:
  patch: true
  file: '**\GlobalAssemblyInfo.cs'
  assembly_version: "1.0.{build}"
  assembly_file_version: "{version}"
  assembly_informational_version: "{version}"

#--------------------------------------------------
# Build hooks - before
#--------------------------------------------------
before_build:
  - nuget restore -verbosity detailed
  
#--------------------------------------------------
# Build hooks - after
#--------------------------------------------------
after_build:
   - nuget pack Ofl.Core\Ofl.Core.csproj -verbosity detailed -version %APPVEYOR_BUILD_VERSION%
 
#--------------------------------------------------
# NuGet config
#--------------------------------------------------
nuget:
  # disable publishing of .nupkg artifacts to
  # account/project feeds for pull request builds
  disable_publish_on_pr: true
  
#--------------------------------------------------
# Artifact configuration
#--------------------------------------------------
artifacts:  
  - path: '**\*.nupkg'
    name: NuGet

#--------------------------------------------------
# Version
#--------------------------------------------------
version: '{build}'  

#--------------------------------------------------
# Branch whitelist
#--------------------------------------------------
branches:
  # Whitelist
  only:
    - master

#--------------------------------------------------
# After cloning repository
#--------------------------------------------------
install:
  - git submodule init
  - git submodule update

#--------------------------------------------------
# Build configuration
#--------------------------------------------------
configuration: Release

#--------------------------------------------------
# Assembly version patching
#-------------------------------------------------- 
assembly_info:
  patch: true
  file: '**\GlobalAssemblyInfo.cs'
  assembly_version: "1.0.{build}"
  assembly_file_version: "{version}"
  assembly_informational_version: "{version}"

#--------------------------------------------------
# Build hooks - before
#--------------------------------------------------
before_build:
  - nuget restore -verbosity detailed
  
#--------------------------------------------------
# Build hooks - after
#--------------------------------------------------
after_build:
   - nuget pack Ofl.Core\Ofl.Core.csproj -verbosity detailed
 
#--------------------------------------------------
# NuGet config
#--------------------------------------------------
nuget:
  # disable publishing of .nupkg artifacts to
  # account/project feeds for pull request builds
  disable_publish_on_pr: true
  
#--------------------------------------------------
# Artifact configuration
#--------------------------------------------------
artifacts:  
  - path: '**\*.nupkg'
    name: NuGet

Update version for CI build.
Update version for CI build.
