-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
36 lines (29 loc) · 924 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
version: 1.0.0.{build}
branches:
only:
- master
skip_tags: true
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "1.0.0.{build}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
build:
project: WhiteFleet\WhiteFleet.sln
before_build:
- git.exe submodule update --init --recursive
- nuget restore WhiteFleet\WhiteFleet.sln
- nuget restore ElectronicObserverExtended\ElectronicObserver.sln
- mkdir output
- ps: (Get-Content WhiteFleet\WhiteFleet.cs -Encoding UTF8).replace("<BUILD_VERSION>", "$env:APPVEYOR_BUILD_VERSION") | Set-Content WhiteFleet\WhiteFleet.cs -Encoding UTF8
artifacts:
- path: output
name: WhiteFleet-$(APPVEYOR_BUILD_VERSION)
deploy:
provider: GitHub
auth_token:
secure: LRyrixQEgYtxLDVKSCkxkjmAzMS4gi+DABeBjkT1r9Tunat6Satr15XuwkCWwoY0
artifact: /.*/
on:
branch: master