forked from inflatablefriends/lastfm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
76 lines (59 loc) · 1.81 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# AppVeyor config for https://github.com/inflatablefriends/lastfm
configuration: Release
install:
- appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/v3.5.0/nuget.exe
before_build:
- ps: nuget restore IF.Lastfm.sln
build:
project: IF.Lastfm.sln
#test_script:
# - ps: .\run-tests.ps1
image: Visual Studio 2017
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
notifications:
- provider: Webhook # ping Gitter ticker
url: https://webhooks.gitter.im/e/aa615fb57d382a430815
#---------------------------------------------------------------
for:
-
version: 1.1.999.{build}
after_test:
- ps: pushd .nuget
- ps: .\pack.ps1 -versionSuffix prerelease
- ps: popd
- ps: cp .\.nuget\*.nupkg .
artifacts:
- path: src\IF.Lastfm.Core\bin\Release\netstandard1.1\IF.Lastfm.Core.dll
name: IF.Lastfm.Core.dll
- path: src\IF.Lastfm.SQLite\bin\Release\netstandard1.1\IF.Lastfm.SQLite.dll
name: IF.Lastfm.SQLite.dll
- path: '\*-prerelease.nupkg'
-
branches:
only:
- release
# don't forget to update this!
version: 1.1.0.{build}
after_test:
- ps: pushd .nuget
- ps: .\pack.ps1
- ps: popd
- ps: cp .\.nuget\*.nupkg .
artifacts:
- path: src\IF.Lastfm.Core\bin\Release\netstandard1.1\IF.Lastfm.Core.dll
name: IF.Lastfm.Core.dll
- path: src\IF.Lastfm.SQLite\bin\Release\netstandard1.1\IF.Lastfm.SQLite.dll
name: IF.Lastfm.SQLite.dll
- path: '\*.nupkg'
deploy:
provider: NuGet
api_key:
secure: va1LSoMMALhdweWJ7jzaarnm/nSD5Y+6g39YVSsjc9tfMljmqSj3LX366ysaTcau
artifact: /.*\.nupkg/