Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
Gitversion (#19)
Browse files Browse the repository at this point in the history
Add GitVersion
  • Loading branch information
mdsharpe authored Feb 16, 2018
1 parent d05013c commit c929c23
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
version: 4.0.{build}
image: Visual Studio 2015
version: 0.{build}
image: Visual Studio 2017
configuration: Release

install:
- cmd: nuget restore -verbosity quiet
- ps: gitversion /l console /output buildserver

assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
before_build:
- cmd: nuget restore -verbosity quiet
assembly_version: $(GitVersion_MajorMinorPatch)
assembly_file_version: $(GitVersion_MajorMinorPatch)
assembly_informational_version: $(GitVersion_InformationalVersion)

build:
publish_nuget: true
parallel: true
verbosity: minimal

test:
assemblies:
only:
- '**\*.Test.dll'

deploy: off

0 comments on commit c929c23

Please sign in to comment.