-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
29 lines (25 loc) · 1.08 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
version: 1.0.{build}
image: Visual Studio 2017
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
environment:
TARGET_CONFIGURATION: Release
build_script:
- cmd: >-
dotnet build -p:Version=%APPVEYOR_BUILD_VERSION% --configuration %TARGET_CONFIGURATION%
appveyor PushArtifact %APPVEYOR_BUILD_FOLDER%/SabberStoneContract/bin/Release/SabberStoneContract.%APPVEYOR_BUILD_VERSION%.nupkg -FileName SabberStoneContract.%APPVEYOR_BUILD_VERSION%.nupkg -DeploymentName SabberStoneContract
appveyor PushArtifact %APPVEYOR_BUILD_FOLDER%/SabberStoneServer/bin/Release/SabberStoneServer.%APPVEYOR_BUILD_VERSION%.nupkg -FileName SabberStoneServer.%APPVEYOR_BUILD_VERSION%.nupkg -DeploymentName SabberStoneServer
test_script:
- cmd: >-
dotnet test --configuration Release ./SabberStoneXTest
deploy:
- provider: NuGet
api_key:
secure: qR9SWQUPkiYwFQKvljIajuoDvjS4rDAHkYVY1QaFP3yRqRoEp+LF/Um2v2Y4LqcN
artifact: /.*.nupkg/