-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
49 lines (43 loc) · 1.63 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
# version format
version: 0.4.2.{build}
# scripts that are called at very beginning, before repo cloning
init:
- date /T & time /T
- git config --global core.autocrlf input
install:
# Upgrade to the latest version of pip to avoid "out of date" warnings
- C:\python37\python.exe -m pip install --upgrade pip
- C:\python37\scripts\pip.exe install future
before_build:
# download
- build-scripts\1-download.bat
- dir "%APPVEYOR_BUILD_FOLDER%\downloads"
# extract
- build-scripts\2-extract.bat
- dir "%APPVEYOR_BUILD_FOLDER%\extracted"
# copy
- build-scripts\3-copy.bat
- dir "%APPVEYOR_BUILD_FOLDER%\repackage"
# stripdown
- build-scripts\4-stripdown.bat
- dir "%APPVEYOR_BUILD_FOLDER%\repackage"
build_script:
- build-tools\innosetup\iscc /DAPP_VERSION=%APPVEYOR_BUILD_VERSION% installer\fife-sdk.iss
- move "%APPVEYOR_BUILD_FOLDER%\_build\FifeSDK-%APPVEYOR_BUILD_VERSION%-Setup-VC15-x86.exe" "%APPVEYOR_BUILD_FOLDER%"
artifacts:
- path: FifeSDK-$(appveyor_build_version)-Setup-VC15-x86.exe
name: FifeSDK-Installer
deploy:
provider: GitHub
release: FifeSDK-$(appveyor_build_version)-Setup-VC15-x86
tag: $(APPVEYOR_REPO_TAG_NAME)
description: '[**Changelog**](https://github.com/fifengine/fife-windows-sdk/blob/master/CHANGELOG.md)'
artifact: FifeSDK-Installer
draft: false
prerelease: false
force_update: true # overwrite files of existing release on GitHub
on:
branch: master # release from master branch only
appveyor_repo_tag: true # deploy on tag push only
auth_token:
secure: EuVhVRiJe8gqDqVPM93Zp1CYTq3w4RJ7gAfgog3mmRq9ja2g7jb5GTG20V2eAwQ4