-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
47 lines (37 loc) · 1.2 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
46
47
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.ArtefactStorage.FileSystem.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.ArtefactStorage.FileSystem.sln
after_build:
- cmd: nuget pack source\Jobbr.ArtefactStorage.FileSystem.nuspec -version "%GitVersion_SemVer%" -prop "target=%CONFIGURATION%"
- cmd: appveyor PushArtifact "Jobbr.ArtefactStorage.FileSystem.%GitVersion_SemVer%.nupkg"
test:
assemblies:
- '**\bin\Release\Jobbr.ArtefactStorage.FileSystem.Tests.dll'
deploy:
- provider: NuGet
server: https://nuget.org
api_key:
secure: 60SMVZkhtzWAeH6Mp7DT1YZlZGGG8jwOEXMH0oRhX1iQLBejg1TpaDxgN6i0RisX
on:
appveyor_repo_tag: true