forked from jtheisen/reconciler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
47 lines (38 loc) · 1.11 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
environment:
version: 0.2.4
versionSuffix:
appveyor: true
image: Visual Studio 2017
services: mssql2017
init:
- ps: $env:buildVersion = "$env:version$env:versionSuffix.$env:appveyor_build_number"
- ps: $env:nugetVersion = "$env:version$env:versionSuffix"
- ps: Update-AppveyorBuild -Version $env:buildVersion
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
dotnet_csproj:
patch: true
file: 'Reconciler\EfCore\*.csproj'
version: '{version}'
package_version: '$(version)'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
before_build:
- cmd: nuget restore
- cmd: dotnet restore
build:
verbosity: minimal
after_build:
- ps: echo "version:" "$env:version"
- ps: nuget pack Reconciler\Ef6\Reconciler.Ef6.csproj -version "$env:version"
- ps: dotnet pack -o . Reconciler\EfCore\Reconciler.EfCore.csproj
artifacts:
- path: '**\Reconciler.Ef6.*.nupkg'
name: nuget-package-ef6
- path: '**\Reconciler.EfCore.*.nupkg'
name: nuget-package-efcore