-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
55 lines (45 loc) · 1.64 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
image: Visual Studio 2022
branches:
only:
- master
- develop
- /release/.*/
- /hotfix/.*/
- /feature/.*/
- /bugfix/.*/
environment:
nodejs_version: "10"
IGNORE_NORMALISATION_GIT_HEAD_MOVE: 1
install:
- git submodule update --init --recursive
- choco install gitversion.portable --version 5.10.3 -y
- ps: Install-Product node $env:nodejs_version
- npm install source/Jobbr.Dashboard.Frontend/jobbr-dashboard --prefix source/Jobbr.Dashboard.Frontend/jobbr-dashboard
assembly_info:
patch: false
before_build:
- cmd: cd source\Jobbr.Dashboard.Frontend\jobbr-dashboard & au build --env prod
- cmd: cd source\Jobbr.Dashboard.Frontend\jobbr-dashboard\dist & 7z a -tzip dashboard-app.zip *.*
- cmd: copy dashboard-app.zip ..\..\..\..\dashboard-app.zip
- cmd: copy dashboard-app.zip ..\..\..\Jobbr.Dashboard\dashboard-app.zip
- cmd: cd ..\..\..\..
- nuget restore source/Jobbr.Dashboard.sln
- ps: C:\ProgramData\chocolatey\lib\GitVersion.Portable\tools\GitVersion.exe /l console /output buildserver /updateprojectfiles
platform: Any CPU
configuration: Release
build:
parallel: true
project: source/Jobbr.Dashboard.sln
after_build:
- cmd: nuget pack Jobbr.Dashboard.nuspec -version "%GitVersion_SemVer%" -prop "target=%CONFIGURATION%"
- cmd: appveyor PushArtifact "Jobbr.Dashboard.%GitVersion_SemVer%.nupkg"
test:
assemblies:
- '**\bin\Release\Jobbr.Dashboard.Tests.dll'
deploy:
- provider: NuGet
server: https://nuget.org
api_key:
secure: 60SMVZkhtzWAeH6Mp7DT1YZlZGGG8jwOEXMH0oRhX1iQLBejg1TpaDxgN6i0RisX
on:
appveyor_repo_tag: true