forked from NEventStore/NEventStore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
53 lines (46 loc) · 1.78 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
48
49
50
51
52
53
version: 1.0.{build}
image: Visual Studio 2022
configuration: Release
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
version_prefix: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
install:
- ps: choco install gitversion.portable -y
before_build:
- ps: >-
# Display .NET Core version
dotnet --version
# Display minimal restore text
dotnet restore ./src/NEventStore.Core.sln --verbosity m
gitversion /l console /output buildserver /updateAssemblyInfo
build:
project: src/NEventStore.Core.sln
verbosity: minimal
after_build:
- cmd: >-
dotnet pack ./src/NEventStore/NEventStore.Core.csproj -c %CONFIGURATION% --no-build -o artifacts /p:PackageVersion=%GitVersion_NuGetVersion%
dotnet pack ./src/NEventStore.PollingClient/NEventStore.PollingClient.csproj -c %CONFIGURATION% --no-build -o artifacts /p:PackageVersion=%GitVersion_NuGetVersion%
dotnet pack ./src/NEventStore.Serialization.Json/NEventStore.Serialization.Json.Core.csproj -c %CONFIGURATION% --no-build -o artifacts /p:PackageVersion=%GitVersion_NuGetVersion%
dotnet pack ./src/NEventStore.Serialization.Bson/NEventStore.Serialization.Bson.Core.csproj -c %CONFIGURATION% --no-build -o artifacts /p:PackageVersion=%GitVersion_NuGetVersion%
test:
assemblies:
except:
- NEventStore.Persistence.AcceptanceTests.dll
- NEventStore.dll
- NEventStore.Serialization.Json.dll
- NEventStore.Serialization.Bson.dll
artifacts:
- path: '**\artifacts\**\*.*'
deploy: off