/
appveyor.yml
29 lines (29 loc) · 1023 Bytes
/
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
image: Visual Studio 2017
init:
- ps: |
if ($Env:APPVEYOR_REPO_TAG -eq "true") { Update-AppveyorBuild -Version "$Env:APPVEYOR_REPO_TAG_NAME" }
else { Update-AppveyorBuild -Version "dev-$($Env:APPVEYOR_REPO_COMMIT.Substring(0, 7))" }
configuration: Release
build:
parallel: true
after_build:
- ps: |
$project = $Env:APPVEYOR_PROJECT_NAME
$name = "$project-$Env:APPVEYOR_BUILD_VERSION"
$dir = "$project\bin\$Env:CONFIGURATION"
md "$name"
cp @("$dir\$project.exe", "$dir\$project.exe.config", "LICENSE") "$name"
7z a "$name.zip" "$name"
artifacts:
- path: '*.zip'
deploy:
- provider: GitHub
artifact: /.*\.zip/
description: |
**Release Notes**
- Many new features.
- Use the API from wslapi.dll to perform most of the operation, so this program no longer depends on LxRun.exe.
auth_token:
secure: saJApLHQjPJ+XmMy3Qk+khAvfIKI4dveBtSnUESRX14qpUy3WPlhM97Ixbja/Tjg
on:
appveyor_repo_tag: true