forked from CasperTech/METAbolt
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.appveyor.yml
56 lines (47 loc) · 1.56 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
51
52
53
54
55
56
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 = "v1.0.0.$env:APPVEYOR_BUILD_NUMBER" }
- 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"
environment:
matrix:
- job_name: Windows x64 Build
platform: x64
appveyor_build_worker_image: Visual Studio 2022
configuration: Release
BugsplatDatabase: RadegastLife
BugsplatUser: [email protected]
PfxDownloadUrl:
secure: T8uKu+tTR2G7LDE1zPGNOi+prl4YaKXP6DOC5eU6A14FEQkd8PFR3nQ1WMwryphJ
PfxDownloadPasswd:
secure: nAIqrjhaoamhiuAcae/xNw==
PfxPassword:
secure: +vWSGzLkiBGVIxfPb+iRtD+/maQjI2d92hN4PoNAxMc=
branches:
except:
- localbuilding
pull_requests:
do_not_increment_build_number: true
build:
project: megabolt.sln
parallel: true
verbosity: minimal
cache:
- packages -> **\packages.config
- '%LocalAppData%\NuGet\Cache'
dotnet_csproj:
patch: true
file: '**\*.csproj;**\*.props'
version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
before_build:
- ps: util/InstallRemotePfx.ps1 -PfxDownloadUrl $env:PfxDownloadUrl -PfxDownloadUser AppVeyor -PfxDownloadPasswd $env:PfxDownloadPasswd -PfxPasswd $env:PfxPassword
- nuget restore megabolt.sln
artifacts:
- path: 'bin\Release\MEGAboltSetup*.msi'
name: 'MEGAbolt Windows MSI'
type: Auto
- path: 'bin\Release\win-x64\*.pdb'
name: 'Symbols'
type: Auto