-
Notifications
You must be signed in to change notification settings - Fork 4
/
appveyor.yml
45 lines (36 loc) · 1.21 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
44
45
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.WebAPI.sln
- ps: C:\ProgramData\chocolatey\lib\GitVersion.Portable\tools\GitVersion.exe /l console /output buildserver /updateprojectfiles
platform: Any CPU
configuration: Release
build:
parallel: true
project: source/Jobbr.WebAPI.sln
after_build:
- cmd: nuget pack source\Jobbr.Server.WebAPI.nuspec -version "%GitVersion_SemVer%" -prop "target=%CONFIGURATION%"
- cmd: nuget pack source\Jobbr.Client.nuspec -version "%GitVersion_SemVer%" -prop "target=%CONFIGURATION%"
- cmd: appveyor PushArtifact "Jobbr.Server.WebAPI.%GitVersion_SemVer%.nupkg"
- cmd: appveyor PushArtifact "Jobbr.Client.%GitVersion_SemVer%.nupkg"
deploy:
- provider: NuGet
server: https://nuget.org
api_key:
secure: 60SMVZkhtzWAeH6Mp7DT1YZlZGGG8jwOEXMH0oRhX1iQLBejg1TpaDxgN6i0RisX
on:
appveyor_repo_tag: true