This repository has been archived by the owner on Feb 17, 2022. It is now read-only.
forked from OrleansContrib/Orleans.Activities
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
42 lines (42 loc) · 1.9 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
- branches:
only:
- master
version: -{branch}-{build}
install:
- ps: Update-AppveyorBuild -Version "$([regex]::match([IO.File]::ReadAllText("$env:APPVEYOR_BUILD_FOLDER\src\GlobalAssemblyInfo.cs"), 'AssemblyInformationalVersion\(\"(\d+\.\d+\.\d+)\"\)').Groups[1].Value)$env:APPVEYOR_BUILD_VERSION"
- ps: Set-AppveyorBuildVariable -Name productversion -Value "$([regex]::match([IO.File]::ReadAllText("$env:APPVEYOR_BUILD_FOLDER\src\GlobalAssemblyInfo.cs"), 'AssemblyInformationalVersion\(\"(\d+\.\d+\.\d+)\"\)').Groups[1].Value)"
os: Visual Studio 2017
configuration: Debug
assembly_info:
patch: true
file: src\GlobalAssemblyInfo.cs
assembly_version: $(productversion)
assembly_file_version: $(productversion)
assembly_informational_version: $(productversion)-{branch}-{build}
before_build:
- cmd: nuget restore src\Orleans.Activities.sln
build:
publish_nuget: true
publish_nuget_symbols: true
verbosity: minimal
- branches:
only:
- stable
version: -{branch}-{build}
install:
- ps: Update-AppveyorBuild -Version "$([regex]::match([IO.File]::ReadAllText("$env:APPVEYOR_BUILD_FOLDER\src\GlobalAssemblyInfo.cs"), 'AssemblyInformationalVersion\(\"(\d+\.\d+\.\d+)\"\)').Groups[1].Value)$env:APPVEYOR_BUILD_VERSION"
- ps: Set-AppveyorBuildVariable -Name productversion -Value "$([regex]::match([IO.File]::ReadAllText("$env:APPVEYOR_BUILD_FOLDER\src\GlobalAssemblyInfo.cs"), 'AssemblyInformationalVersion\(\"(\d+\.\d+\.\d+)\"\)').Groups[1].Value)"
os: Visual Studio 2017
configuration: Release
assembly_info:
patch: true
file: src\GlobalAssemblyInfo.cs
assembly_version: $(productversion)
assembly_file_version: $(productversion)
assembly_informational_version: $(productversion)
before_build:
- cmd: nuget restore src\Orleans.Activities.sln
build:
publish_nuget: true
publish_nuget_symbols: true
verbosity: minimal