-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
39 lines (30 loc) · 1.01 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
version: 1.{build}
skip_tags: true
image: Visual Studio 2017
configuration: Release
install:
- cmd: >-
git submodule update --init --recursive
premake5.bat
build:
project: build/DMCHD.LauncherFix.sln
verbosity: minimal
before_package:
- ps: >-
$releases = "https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases"
$name = "Ultimate-ASI-Loader_x64.zip"
$latestRelease = Invoke-WebRequest $releases/latest -Headers @{"Accept"="application/json"}
$json = $latestRelease.Content | ConvertFrom-Json
$latestVersion = $json.tag_name
$url = "$releases/download/$latestVersion/$name"
Start-FileDownload $url -FileName 'C:\Ultimate-ASI-Loader_x64.zip'
7z e c:\Ultimate-ASI-Loader_x64.zip -oc:\Projects\$env:APPVEYOR_PROJECT_SLUG\bin\
after_build:
- cmd: release.bat
artifacts:
- path: bin\DMCHD.LauncherFix.zip
deploy:
- provider: GitHub
release: DMCHD.LauncherFix v$(appveyor_build_version)
auth_token:
secure: SXMI7bm5RKh5j1S8A8dnUP2HFw97xHHlJH+mA0hx819vtxOPCpMFY3aFZ+2v16ri