-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathappveyor.yml
42 lines (35 loc) · 1.01 KB
/
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
41
42
version: 1.0.0.{build}
configuration: Release
image: Visual Studio 2017
branches:
only:
- master
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
before_build:
- cmd: dotnet restore ./SampleAPI/CSharp/Tasks/TaskFly.Integra/TaskFly.Integra.csproj --verbosity m
build_script:
- cmd: dotnet publish ./SampleAPI/CSharp/Tasks/TaskFly.Integra/TaskFly.Integra.csproj -o ./publish/
- cmd: nuget pack ./SampleAPI/CSharp/Tasks/TaskFly.Integra/TaskFly.Integra.nuspec -version %appveyor_build_version%
artifacts:
- path: '**\*.nupkg'
name: publish
deploy:
- provider: NuGet
api_key:
secure: ZNjrSBbKitBwHWekwLY5HfJpUltu6zsL5qi2m/r9AE47u2DeECepBiNa/8nIeG3V
skip_symbols: true
on:
branch: master
notifications:
- provider: Email
to:
subject: TaskFly.Integra Build
on_build_success: false
on_build_failure: true
on_build_status_changed: true