forked from Authfix/EntityFrameworkCore.Seed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
43 lines (33 loc) · 935 Bytes
/
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
image: Visual Studio 2022
install:
- choco install gitversion.portable -y
environment:
IGNORE_NORMALISATION_GIT_HEAD_MOVE: 1
assembly_info:
patch: false
before_build:
- dotnet restore
- ps: gitversion /l console /output buildserver /updateAssemblyInfo
build_script:
- ps: dotnet build /p:GenerateAssemblyInfo=false --configuration release --no-restore
after_build:
- cmd: nuget pack .nuget/EntityFrameworkCore.Seed.nuspec -version "%GitVersion_NuGetVersion%" -prop "target=%CONFIGURATION%"
deploy:
- provider: NuGet
on:
APPVEYOR_REPO_TAG: true
api_key:
secure: xZBCQxa5EcbACCkMmGWMk0KNtftKVpuLpM/nt2etlAFPOGDf06Tj7Hv2B/tuy1ys
skip_symbols: true
artifacts:
- path: '*.nupkg'
name: Authfix.EntityFrameworkCore.Seed
skip_commits:
files:
- src/EFCore.Seed.InMemory/
- src/EFCore.Seed.Postgres/
- src/EFCore.Seed.SqlServer/
branches:
only:
- /release/
- master