-
Notifications
You must be signed in to change notification settings - Fork 17
/
appveyor.yml
27 lines (27 loc) · 901 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
version: 1.0.10.{build}
skip_tags: true
platform: Any CPU
configuration: Release
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '$(APPVEYOR_REPO_COMMIT)'
before_build:
- nuget restore
build:
project: Elmah.Contrib.WebApi.sln
verbosity: minimal
after_build:
- cmd: nuget pack src\Elmah.Contrib.WebApi.nuspec -version "%appveyor_build_version%"
- cmd: nuget pack src\Elmah.Contrib.WebApi.symbols.nuspec -version "%appveyor_build_version%" -Symbols
- cmd: 7z a Elmah.Contrib.WebApi-%appveyor_build_version%.zip license.txt
- cmd: cd src\Elmah.Contrib.WebApi\bin\Release && 7z a ..\..\..\..\Elmah.Contrib.WebApi-%appveyor_build_version%.zip Elmah.Contrib.WebApi.*
artifacts:
- path: '*.zip'
- path: '*.nupkg'
nuget:
account_feed: true
project_feed: true
disable_publish_on_pr: true