-
Notifications
You must be signed in to change notification settings - Fork 97
/
appveyor-deploy.yml
38 lines (30 loc) · 1.79 KB
/
appveyor-deploy.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
version: 3.0.{build}
branches:
only:
- master
image: Visual Studio 2019
init:
- git config --global core.autocrlf true
before_build:
- cmd: dotnet restore TagHelperSamples\TagHelperSamples.sln
build_script:
- cmd: dotnet build TagHelperSamples\src\TagHelperSamples.Authorization /p:AssemblyVersion=%appveyor_build_version% /p:InformationalVersion=%appveyor_build_version%
- cmd: dotnet pack TagHelperSamples\src\TagHelperSamples.Authorization /p:AssemblyVersion=%appveyor_build_version% /p:InformationalVersion=%appveyor_build_version% /p:PackageVersion=%appveyor_build_version%
- cmd: dotnet build TagHelperSamples\src\TagHelperSamples.Bootstrap /p:AssemblyVersion=%appveyor_build_version% /p:InformationalVersion=%appveyor_build_version%
- cmd: dotnet pack TagHelperSamples\src\TagHelperSamples.Bootstrap /p:AssemblyVersion=%appveyor_build_version% /p:InformationalVersion=%appveyor_build_version% /p:PackageVersion=%appveyor_build_version%
- cmd: dotnet build TagHelperSamples\src\TagHelperSamples.Markdown /p:AssemblyVersion=%appveyor_build_version% /p:InformationalVersion=%appveyor_build_version%
- cmd: dotnet pack TagHelperSamples\src\TagHelperSamples.Markdown /p:AssemblyVersion=%appveyor_build_version% /p:InformationalVersion=%appveyor_build_version% /p:PackageVersion=%appveyor_build_version%
- cmd: dotnet build TagHelperSamples\src\TagHelperSamples.Markdown.Tests
- cmd: dotnet publish TagHelperSamples\src\TagHelperSamples.Web
test_script:
- ps: cd .\TagHelperSamples\src\TagHelperSamples.Markdown.Tests
- cmd: dotnet test
artifacts:
- path: '\TagHelperSamples\src\TagHelperSamples.Web\bin\Debug\netcoreapp3.0\publish'
name: WebSite
type: WebDeployPackage
- path: '**\*.nupkg'
type: 'NuGetPackage'
deploy:
- provider: Environment
name: TagHelperSamples-Production