-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
43 lines (34 loc) · 1.05 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
43
image: Visual Studio 2022
branches:
only:
- master
- develop
- /release/.*/
- /hotfix/.*/
- /feature/.*/
- /bugfix/.*/
environment:
IGNORE_NORMALISATION_GIT_HEAD_MOVE: 1
install:
- git submodule update --init --recursive
- choco install gitversion.portable --version 5.10.3 -y
assembly_info:
patch: false
before_build:
- nuget restore source/Jobbr.Runtime.sln
- ps: C:\ProgramData\chocolatey\lib\GitVersion.Portable\tools\GitVersion.exe /l console /output buildserver /updateAssemblyInfo
platform: Any CPU
configuration: Release
build:
parallel: true
project: source/Jobbr.Runtime.sln
after_build:
- cmd: nuget pack source\Jobbr.Runtime.nuspec -version "%GitVersion_NuGetVersion%" -prop "target=%CONFIGURATION%"
- cmd: appveyor PushArtifact "Jobbr.Runtime.%GitVersion_NuGetVersion%.nupkg"
deploy:
- provider: NuGet
server: https://nuget.org
api_key:
secure: 60SMVZkhtzWAeH6Mp7DT1YZlZGGG8jwOEXMH0oRhX1iQLBejg1TpaDxgN6i0RisX
on:
appveyor_repo_tag: true