-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
40 lines (32 loc) · 965 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
28
29
30
31
32
33
34
35
36
37
38
39
40
version: 1.0.{build}
configuration: Release
environment:
packageVersion: 1.0
cache:
- packages -> **\packages.config
init:
- cmd: git config --global core.autocrlf true
- ps: $env:buildVersion = "$env:packageVersion.$env:appveyor_build_number"
- ps: $env:nugetVersion = "$env:packageVersion-alpha$env:appveyor_build_number"
- ps: Update-AppveyorBuild -Version $env:buildVersion
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '$(buildVersion)'
assembly_file_version: '$(buildVersion)'
assembly_informational_version: '$(nugetVersion)'
nuget:
account_feed: false
project_feed: false
before_build:
- cmd: nuget restore
build:
project: CodeJam.Extensibility.sln
publish_nuget: false
verbosity: minimal
after_build:
- cmd: cd src
- cmd: Compile.cmd
- cmd: cd ..
- ps: nuget pack nuget\CodeJam.Extensibility.nuspec -version "$env:nugetVersion"
- ps: Push-AppveyorArtifact CodeJam.Extensibility.$env:nugetVersion.nupkg