2018-07-01 20:41:13 +01:00
|
|
|
# AppVeyor config for https://github.com/inflatablefriends/lastfm
|
2014-11-20 23:27:39 +00:00
|
|
|
|
2018-07-01 20:41:13 +01:00
|
|
|
configuration: Release
|
2014-11-20 23:27:39 +00:00
|
|
|
|
2018-07-01 20:41:13 +01:00
|
|
|
install:
|
|
|
|
- appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/v3.5.0/nuget.exe
|
2017-08-23 21:53:20 +01:00
|
|
|
|
2018-07-01 20:41:13 +01:00
|
|
|
before_build:
|
|
|
|
- ps: nuget restore IF.Lastfm.sln
|
2014-11-20 23:27:39 +00:00
|
|
|
|
2018-07-01 20:41:13 +01:00
|
|
|
build:
|
|
|
|
project: IF.Lastfm.sln
|
2014-11-20 23:27:39 +00:00
|
|
|
|
2018-12-07 15:08:51 +00:00
|
|
|
#test_script:
|
|
|
|
# - ps: .\run-tests.ps1
|
2017-04-16 19:21:02 +01:00
|
|
|
|
2018-07-01 20:41:13 +01:00
|
|
|
image: Visual Studio 2017
|
2014-11-20 23:27:39 +00:00
|
|
|
|
2018-07-01 20:41:13 +01:00
|
|
|
dotnet_csproj:
|
|
|
|
patch: true
|
|
|
|
file: '**\*.csproj'
|
|
|
|
version: '{version}'
|
|
|
|
package_version: '{version}'
|
|
|
|
assembly_version: '{version}'
|
|
|
|
file_version: '{version}'
|
|
|
|
informational_version: '{version}'
|
2014-11-20 23:27:39 +00:00
|
|
|
|
2018-07-01 20:41:13 +01:00
|
|
|
notifications:
|
|
|
|
- provider: Webhook # ping Gitter ticker
|
|
|
|
url: https://webhooks.gitter.im/e/aa615fb57d382a430815
|
2014-12-16 09:34:38 +00:00
|
|
|
|
|
|
|
#---------------------------------------------------------------
|
|
|
|
|
2018-07-01 20:41:13 +01:00
|
|
|
for:
|
|
|
|
-
|
|
|
|
version: 1.1.999.{build}
|
|
|
|
|
|
|
|
after_test:
|
|
|
|
- ps: pushd .nuget
|
|
|
|
- ps: .\pack.ps1 -versionSuffix prerelease
|
|
|
|
- ps: popd
|
|
|
|
- ps: cp .\.nuget\*.nupkg .
|
|
|
|
|
|
|
|
artifacts:
|
2018-12-07 14:46:48 +00:00
|
|
|
- path: src\IF.Lastfm.Core\bin\Release\netstandard1.1\IF.Lastfm.Core.dll
|
2018-07-01 20:41:13 +01:00
|
|
|
name: IF.Lastfm.Core.dll
|
2018-12-07 14:46:48 +00:00
|
|
|
- path: src\IF.Lastfm.SQLite\bin\Release\netstandard1.1\IF.Lastfm.SQLite.dll
|
2018-07-01 20:41:13 +01:00
|
|
|
name: IF.Lastfm.SQLite.dll
|
|
|
|
- path: '\*-prerelease.nupkg'
|
|
|
|
|
|
|
|
-
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- release
|
|
|
|
|
|
|
|
# don't forget to update this!
|
2018-07-01 21:09:42 +01:00
|
|
|
version: 1.1.0.{build}
|
2018-07-01 20:41:13 +01:00
|
|
|
|
|
|
|
after_test:
|
|
|
|
- ps: pushd .nuget
|
|
|
|
- ps: .\pack.ps1
|
|
|
|
- ps: popd
|
|
|
|
- ps: cp .\.nuget\*.nupkg .
|
|
|
|
|
|
|
|
artifacts:
|
2018-12-08 16:48:20 +00:00
|
|
|
- path: src\IF.Lastfm.Core\bin\Release\netstandard1.1\IF.Lastfm.Core.dll
|
2018-07-01 20:41:13 +01:00
|
|
|
name: IF.Lastfm.Core.dll
|
2018-12-08 16:48:20 +00:00
|
|
|
- path: src\IF.Lastfm.SQLite\bin\Release\netstandard1.1\IF.Lastfm.SQLite.dll
|
2018-07-01 20:41:13 +01:00
|
|
|
name: IF.Lastfm.SQLite.dll
|
|
|
|
- path: '\*.nupkg'
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: NuGet
|
|
|
|
api_key:
|
2018-07-01 21:16:19 +01:00
|
|
|
secure: va1LSoMMALhdweWJ7jzaarnm/nSD5Y+6g39YVSsjc9tfMljmqSj3LX366ysaTcau
|
2018-07-01 20:41:13 +01:00
|
|
|
artifact: /.*\.nupkg/
|