-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
73 lines (59 loc) · 1.79 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
version: '1.4.2.{build}-beta'
branches:
only:
- master
# Do not build on tags (GitHub and BitBucket)
#skip_tags: true
# Start builds on tags only (GitHub and BitBucket)
#skip_non_tags: true
# Skipping commits with particular message or from specific user
skip_commits:
message: /[Rr]eadme.*/ # Regex for matching commit message
# Including commits with particular message or from specific user
#only_commits:
# message: /build/ # Start a new build if message contains 'build'
image: Visual Studio 2019
#environment:
#IDE_PATH: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE
#install:
#- ps: .\install-vsix-appveyor.ps1
configuration:
- Release
- Debug
platform: Any CPU
build:
verbosity: normal
# scripts to run before build
before_build:
- cmd: nuget restore
# scripts to run after build
#after_build:
#- ps: $($env:IDE_PATH)\devenv.exe GranitEditorSetup\GranitEditorSetup.vdproj /build $($env:CONFIGURATION)
artifacts:
- path: '**\*.msi'
name: GranitEditorSetup
# TODO: remove unnecessary files from zip!
- path: GranitEditor\bin\$(configuration)
name: GranitEditorPortable
deploy:
- provider: Environment
name: GranitEditor Releases Environment
on:
branch: master
appveyor_repo_tag: true # deploy on tag push only
# Deploy to GitHub Releases
#- provider: GitHub
# auth_token:
# secure: oooooooooooooooooooooooooooooooooooooooo
# draft: false
# prerelease: false
# on:
# branch: master # release from master branch only
# appveyor_repo_tag: true # deploy on tag push only
# enable patching of AssemblyInfo.cs files
assembly_info:
patch: true
file: AssemblyInfo.cs
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'