forked from MathewSachin/Captura
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
50 lines (41 loc) · 1.16 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
50
version: 6.0.{build}
image: Visual Studio 2017
configuration:
- Debug
- Release
environment:
access_token:
secure: c1r9fMnxBX4DW0SvZ4V/5Nucdi8pzA2YiQ/wsiyfjIY19q4RyKCYZTtU+2YQbiLT
imgur_client_id:
secure: Y/2WUSisk7oLSQNY1YzUxw==
install:
# Install Inno Setup
- choco install innosetup -y
cache:
# preserve "packages" directory but reset if packages.config is modified
- src\packages -> **\packages.config
before_build:
- ps: appveyor/Update-Version.ps1
# Build using Cake
build_script:
- ps: ./build.ps1 -target CI -configuration $env:CONFIGURATION -version "$env:AppVersion"
artifacts:
- path: temp/Captura-Portable.zip
name: Portable
- path: temp/Captura-Setup.exe
name: Setup
- path: temp/captura.*.nupkg
name: Chocolatey
deploy:
provider: GitHub
tag: $(APPVEYOR_REPO_TAG_NAME)
release: Captura $(APPVEYOR_REPO_TAG_NAME)
prerelease: $(prerelease)
description: "[Changelog](https://github.com/MathewSachin/Captura/wiki/Changelog)"
auth_token:
secure: 0wnIqpTY1N2oq6WQS9O5Mow0LA43Qo5ZnvuRLrpA/Lah675ffhF16SGcpa7B+Iou
artifact: Portable, Setup
draft: true
on:
configuration: Release
appveyor_repo_tag: true