forked from andanteyk/ElectronicObserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
54 lines (45 loc) · 1.71 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
54
version: 4.6.5-mk{build}
branches:
only:
- develop
skip_tags: true
skip_commits:
message: /\[chore\]/
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "4.6.5-mk{build}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
image: Visual Studio 2017
before_build:
- ps: (Get-Content ElectronicObserver\Utility\SoftwareInformation.cs -Encoding UTF8).replace("<BUILD_VERSION>", "$env:APPVEYOR_BUILD_VERSION").replace("<BUILD_TIME>", (Get-Date -Format g)) | Set-Content ElectronicObserver\Utility\SoftwareInformation.cs -Encoding UTF8
- mkdir output-template
- mkdir output-template\Licenses
- copy Licenses\*.* output-template\Licenses\
- copy LICENSE output-template\LICENSE
- mkdir output-template\Plugins
- copy NUL output-template\Plugins\plugin_dir
build_script:
- git submodule update --init --recursive
- nuget restore
- msbuild ElectronicObserver.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /p:Configuration=Release /m
- REM ================ Package CEF flavors ================
- xcopy /E /Y output-template output-cef-full\
- xcopy /E /Y output\ElectronicObserver output-cef-full\
- xcopy /E /Y output\Browser output-cef-full\
- xcopy /E output-cef-full output-cef\
- rmdir /S /Q output-cef\x86
- rmdir /S /Q output-cef\x64
artifacts:
- path: output-cef-full
name: 74eo-joint-$(APPVEYOR_BUILD_VERSION)
- path: output-cef
name: 74eo-joint-updatepack-$(APPVEYOR_BUILD_VERSION)
deploy:
provider: GitHub
auth_token:
secure: Qgng6uKlHnkMXC0StI5QnW013EtPjEmRGOuu2tydfqoJOtFmEkgevjW0jVaZH9Ue
artifact: /.*/
on:
branch: develop