Add AppVeyor configuration

This commit is contained in:
2018-02-12 18:04:55 -05:00
parent be2a0bd4ce
commit 5c695bff70
2 changed files with 25 additions and 0 deletions

View File

@@ -89,6 +89,7 @@
<Content Include=".gitignore" />
</ItemGroup>
<ItemGroup>
<None Include="appveyor.yml" />
<None Include="LICENSE.md" />
<None Include="README.md" />
<None Include="WixFileVersionExtension.nuspec" />

24
appveyor.yml Normal file
View File

@@ -0,0 +1,24 @@
version: 1.0.0.{build}
pull_requests:
do_not_increment_build_number: true
image: Visual Studio 2015
configuration: Release
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
build:
verbosity: minimal
after_build:
- cmd: nuget pack WixFileVersionExtension.nuspec -Version %appveyor_build_version% -Properties Configuration=Release -OutputDirectory bin\Release\
artifacts:
- path: bin\$(configuration)\WixFileVersionExtension.dll
name: WixFileVersionExtension
- path: bin\$(configuration)\WixFileVersionExtension.*.nupkg
name: NuGet
deploy:
- provider: Environment
name: GitHub
- provider: Environment
name: NuGet