-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
44 lines (29 loc) · 955 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
44
version: 1.0.{build}
pull_requests:
do_not_increment_build_number: true
skip_non_tags: true
image: Visual Studio 2019
configuration: Release
before_build:
- cmd: dotnet restore
build:
project: ImperialLibrary.sln
parallel: true
verbosity: minimal
after_build:
- cmd: >-
mkdir artifacts
xcopy ".\Client\bin\Release\net452\*" "artifacts\Client\" /E /I /Y
xcopy ".\Server\bin\Release\netstandard2.0\*" "artifacts\Server\" /E /I /Y
copy "README.md" "artifacts\"
7z a ImperialLibrary-%APPVEYOR_BUILD_VERSION%.zip -r "artifacts\*"
appveyor PushArtifact ImperialLibrary-%APPVEYOR_BUILD_VERSION%.zip
deploy:
- provider: GitHub
tag: $(appveyor_build_version)
release: '[Release] ImperialLibrary-v$(appveyor_build_version)'
description: ImperialLibrary version v$(appveyor_build_version)
auth_token:
secure: Hw8d95jOk9+v5QZDK3UbueRKyvYMyht+W5r38JVngeqMB4sC+7V8cRwmGwu7rJbp
on:
APPVEYOR_REPO_TAG: true