-
Notifications
You must be signed in to change notification settings - Fork 245
/
appveyor.yml
31 lines (31 loc) · 1.04 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
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))" }
install:
- ps: .paket\paket.exe install
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", "$dir\CommandLine.dll", "LICENSE", "LICENSE-3RD-PARTY") "$name"
7z a "$name.zip" "$name"
artifacts:
- path: '*.zip'
deploy:
- provider: GitHub
artifact: /.*\.zip/
description: |
**Release Notes**
- Fix some typos in the help text.
- Remove unnecessary DLLs in the released files.
auth_token:
secure: saJApLHQjPJ+XmMy3Qk+khAvfIKI4dveBtSnUESRX14qpUy3WPlhM97Ixbja/Tjg
on:
appveyor_repo_tag: true