-
Notifications
You must be signed in to change notification settings - Fork 14
/
appveyor.yml
59 lines (46 loc) · 1.58 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
57
58
59
version: 0.16.2.{build}
os: Visual Studio 2015
cache:
- urlpicker\src\packages -> urlpicker\src\**\packages.config # preserve "packages" directory but will reset it if packages.config is modified
- urlpicker\node_modules # local npm modules
- '%APPDATA%\npm-cache' # npm cache
- '%APPDATA%\npm' # npm global
configuration: Release
environment:
version_suffix:
branches:
only:
- develop
- master
install:
- ps: .\appveyor\appveyor-semver.ps1
- ps: Update-AppveyorBuild -Version $Env:appveyor_version
- cmd: npm install -g grunt
- cmd: nuget update -Self
- cmd: node --version
- cmd: npm --version
- cmd: appveyor\appveyor-package-version-patch.cmd
assembly_info:
patch: true
file: 'urlpicker\src\**\AssemblyInfo.*'
assembly_version: '$(appveyor_build_version)'
assembly_file_version: '$(appveyor_build_version)'
assembly_informational_version: '$(mssemver)'
build_script:
- cmd: >-
cd urlpicker
npm install
grunt umbraco
grunt nuget
appveyor PushArtifact "pkg/UrlPicker_%mssemver%.zip" -Type Zip
appveyor PushArtifact "pkg/UrlPicker.%mssemver%.nupkg" -Type NuGetPackage
deploy:
# Umbraco MyGet community feed
- provider: NuGet
server: https://www.myget.org/F/umbraco-packages/api/v2/package
symbol_server: https://nuget.symbolsource.org/MyGet/umbraco-packages
api_key:
secure: SASQGWG/4zNns7bwSSsJ5RPvKcKfJsBeEPuw69wsVPA3PO739QmzVtc5VwQwgvbr
artifact: /.*\.nupkg/
on:
branch: develop