-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
45 lines (44 loc) · 1.03 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
init:
- ps: >-
if ($env:APPVEYOR_REPO_TAG -eq "true")
{
$x = $env:APPVEYOR_REPO_TAG_NAME
if($x.startswith("v","CurrentCultureIgnoreCase")) { $x = $x.substring(1) }
Update-AppveyorBuild -Version "$x"
$env:MY_BUILD_VERSION="$x"
}
else
{
Update-AppveyorBuild -Version "1.0.$env:APPVEYOR_BUILD_NUMBER"
}
#version: 1.0.{build}
image: Visual Studio 2019
configuration: Release
platform:
- Win32
- x64
for:
-
branches:
only:
- master
-
configuration: Release
build:
project: finddupe.sln
verbosity: normal
artifacts:
- path: $(platform)/Release/*.exe
name: finddupe
deploy:
release: finddupe-v$(MY_BUILD_VERSION)
description: 'Release description'
provider: GitHub
auth_token:
secure: AMr0052CKs+QYPeN2Yx5hFAkhqW5IQi1j1q936gBBoufuTLQAq5jwZxC+M7TDyzq
artifact: /.*\.exe/
draft: true
prerelease: false
on:
#branch: master # release from master branch only
APPVEYOR_REPO_TAG: true # deploy on tag push only