forked from LeonBlade/PaisleyPark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
53 lines (44 loc) · 1.2 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
48
49
50
51
52
53
configuration: Release
platform: x64
skip_non_tags: true
image:
- Visual Studio 2019
cache:
- packages -> **\packages.config
init:
- ps: >-
if ($env:APPVEYOR_REPO_TAG -eq "true")
{
Update-AppveyorBuild -Version "$($env:APPVEYOR_REPO_TAG_NAME.TrimStart("v"))"
}
else
{
Update-AppveyorBuild -Version "dev-$($env:APPVEYOR_REPO_COMMIT.Substring(0, 7))"
}
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
before_build:
- git submodule update --init --recursive --remote
- nuget restore PaisleyPark.sln
- nuget restore lib/Nhaama.FFXIV/Nhaama.FFXIV.csproj
- nuget restore lib/Nhaama.Memory/Nhaama.Memory.csproj
build:
project: PaisleyPark.sln
artifacts:
- path: PaisleyPark\bin\x64\Release\PaisleyPark.zip
name: PaisleyPark
deploy:
tag: $(appveyor_repo_tag_name)
release: Paisley Park $(appveyor_repo_tag_name)
provider: GitHub
draft: true
auth_token:
secure: O6Rsj+hoS5X7Q1u7TjtFwjRN53ohwjF8Mik/BpVidoefAag5FfpxoWqS5GTdJECG
artifact: PaisleyPark
on:
branch: master
appveyor_repo_tag: true