This repository has been archived by the owner on Sep 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
/
appveyor.yml
44 lines (35 loc) · 1.64 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
configuration: Release
# Don't build unless it's tagged
skip_non_tags: true
image:
- Visual Studio 2019
cache:
- packages -> **\packages.config
# Get the version from the tag name (strips v from the start)
init:
- ps: >-
if ($env:APPVEYOR_REPO_TAG -eq "true")
{
Update-AppveyorBuild -Version $env:APPVEYOR_REPO_TAG_NAME
}
before_build:
- git submodule update --init --recursive --remote
- nuget restore "Concept Matrix.sln"
build:
project: Concept Matrix.sln
after_build:
7z a CMTool.zip %APPVEYOR_BUILD_FOLDER%\ConceptMatrix\bin\%CONFIGURATION%\*.exe %APPVEYOR_BUILD_FOLDER%\ConceptMatrix\bin\%CONFIGURATION%\*.txt %APPVEYOR_BUILD_FOLDER%\ConceptMatrix\bin\%CONFIGURATION%\OffsetSettings.json %APPVEYOR_BUILD_FOLDER%\ConceptMatrix\bin\%CONFIGURATION%\OffsetSettingsCN.json %APPVEYOR_BUILD_FOLDER%\ConceptMatrix\bin\%CONFIGURATION%\OffsetSettingsKO.json %APPVEYOR_BUILD_FOLDER%\ConceptMatrix\bin\%CONFIGURATION%\Definitions\ %APPVEYOR_BUILD_FOLDER%\ConceptMatrix\bin\%CONFIGURATION%\de\ %APPVEYOR_BUILD_FOLDER%\ConceptMatrix\bin\%CONFIGURATION%\fr\ %APPVEYOR_BUILD_FOLDER%\ConceptMatrix\bin\%CONFIGURATION%\zh\ %APPVEYOR_BUILD_FOLDER%\ConceptMatrix\bin\%CONFIGURATION%\ko\ %APPVEYOR_BUILD_FOLDER%\ConceptMatrix\bin\%CONFIGURATION%\ja\
artifacts:
- path: CMTool.zip
name: CMTool
deploy:
tag: $(appveyor_repo_tag_name)
release: Concept Matrix $(appveyor_repo_tag_name)
provider: GitHub
draft: true
auth_token:
secure: EAqDpXZoRTQ494m/Cxjf7IogaPI1fFxRATLxOUXugdVIgAgT26/GlJAKIlnJIGiV
artifact: CMTool.zip
on:
branch: master
appveyor_repo_tag: true