Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 1.07 KB

CI-Guidelines.md

File metadata and controls

21 lines (15 loc) · 1.07 KB

Continuous Integration

We use AppVeyor for CI.

AppVeyor automatically builds the master and stable branches, and the stable NuGet package is manually deployed to nuget.org.

All the settings are in the appveyor.yml file, only the build number comes from the AppVeyor project settings.

The variables used for versioning in the appveyor.yml file are:

  • {productversion} - is read from the AssemblyInformationalVersion attribute in GlobalAssemblyInfo.cs file
  • {branch}
  • {build} - is the build number from the AppVeyor project settings, a continuously incremented number

The appveyor.yml script resets the AppVeyor build version and the attributes in GlobalAssemblyInfo.cs file based on the branch:

master stable
AppVeyor build version {productversion}-{branch}-{build} {productversion}-{branch}-{build}
AssemblyVersion {productversion} {productversion}
AssemblyFileVersion {productversion} {productversion}
AssemblyInformationalVersion {productversion}-{branch}-{build} {productversion}