-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
48 lines (37 loc) · 1.19 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
init:
- ps: if ($env:APPVEYOR_REPO_TAG -eq "true") { $env:TAG_VERSION = "$env:APPVEYOR_REPO_TAG_NAME.$env:APPVEYOR_BUILD_NUMBER" } else { $env:TAG_VERSION = "v2.24.$env:APPVEYOR_BUILD_NUMBER-alpha" }
- ps: $env:TAG_VERSION = $env:TAG_VERSION -replace 'v',''
- ps: Write-Host "Setting version to '$env:TAG_VERSION'"
- ps: Update-AppveyorBuild -Version "$env:TAG_VERSION"
image: Visual Studio 2017
branches:
except:
- localbuilding
configuration: Release
platform: x86
pull_requests:
do_not_increment_build_number: true
build:
project: radegast.sln
parallel: true
verbosity: minimal
after_build:
- cmd: '"C:\Program Files (x86)\NSIS\makensis.exe" bin\Radegast.nsi'
- cmd: '7z a -ttar -so Radegast-%TAG_VERSION%.tar bin\ | 7z a -si Radegast-%TAG_VERSION%.tbz'
artifacts:
- path: 'Radegast-*-installer.exe'
name: 'Radegast Installer'
type: Auto
- path: 'Radegast-*.tbz'
name: 'Radegast Linux'
type: Auto
cache:
- packages -> **\packages.config
- '%LocalAppData%\NuGet\Cache'
assembly_info:
patch: true
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
before_build:
- nuget restore radegast.sln