mirror of
https://github.com/Sarsoo/IF.Lastfm.git
synced 2024-10-16 23:13:07 +01:00
Merge build configs
This commit is contained in:
parent
c44deb47d0
commit
fe5bfadeb3
154
appveyor.yml
154
appveyor.yml
@ -1,107 +1,81 @@
|
|||||||
-
|
# AppVeyor config for https://github.com/inflatablefriends/lastfm
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
- /v.*/
|
|
||||||
|
|
||||||
version: 1.1.999.{build}
|
configuration: Release
|
||||||
|
|
||||||
image: Visual Studio 2017
|
install:
|
||||||
|
- appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/v3.5.0/nuget.exe
|
||||||
|
|
||||||
dotnet_csproj:
|
before_build:
|
||||||
patch: true
|
- ps: nuget restore IF.Lastfm.sln
|
||||||
file: '**\*.csproj'
|
|
||||||
version: '{version}'
|
|
||||||
package_version: '{version}'
|
|
||||||
assembly_version: '{version}'
|
|
||||||
file_version: '{version}'
|
|
||||||
informational_version: '{version}'
|
|
||||||
|
|
||||||
configuration: Release
|
build:
|
||||||
|
project: IF.Lastfm.sln
|
||||||
|
|
||||||
install:
|
test_script:
|
||||||
- appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/v3.5.0/nuget.exe
|
- ps: .\run-tests.ps1
|
||||||
|
|
||||||
before_build:
|
image: Visual Studio 2017
|
||||||
- ps: nuget restore IF.Lastfm.sln
|
|
||||||
|
|
||||||
build:
|
dotnet_csproj:
|
||||||
project: IF.Lastfm.sln
|
patch: true
|
||||||
|
file: '**\*.csproj'
|
||||||
|
version: '{version}'
|
||||||
|
package_version: '{version}'
|
||||||
|
assembly_version: '{version}'
|
||||||
|
file_version: '{version}'
|
||||||
|
informational_version: '{version}'
|
||||||
|
|
||||||
test_script:
|
notifications:
|
||||||
- ps: .\run-tests.ps1
|
- provider: Webhook # ping Gitter ticker
|
||||||
|
url: https://webhooks.gitter.im/e/aa615fb57d382a430815
|
||||||
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'
|
|
||||||
|
|
||||||
notifications:
|
|
||||||
- provider: Webhook # ping Gitter ticker
|
|
||||||
url: https://webhooks.gitter.im/e/aa615fb57d382a430815
|
|
||||||
|
|
||||||
#---------------------------------------------------------------
|
#---------------------------------------------------------------
|
||||||
|
|
||||||
-
|
for:
|
||||||
branches:
|
-
|
||||||
only:
|
branches:
|
||||||
- release
|
only:
|
||||||
|
- master
|
||||||
|
- /v.*/
|
||||||
|
|
||||||
# don't forget to update this!
|
version: 1.1.999.{build}
|
||||||
version: 1.1.1.{build}
|
|
||||||
|
after_test:
|
||||||
|
- ps: pushd .nuget
|
||||||
|
- ps: .\pack.ps1 -versionSuffix prerelease
|
||||||
|
- ps: popd
|
||||||
|
- ps: cp .\.nuget\*.nupkg .
|
||||||
|
|
||||||
image: Visual Studio 2017
|
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'
|
||||||
|
|
||||||
dotnet_csproj:
|
-
|
||||||
patch: true
|
branches:
|
||||||
file: '**\*.csproj'
|
only:
|
||||||
version: '{version}'
|
- release
|
||||||
package_version: '{version}'
|
|
||||||
assembly_version: '{version}'
|
|
||||||
file_version: '{version}'
|
|
||||||
informational_version: '{version}'
|
|
||||||
|
|
||||||
configuration: Release
|
# don't forget to update this!
|
||||||
|
version: 1.1.1.{build}
|
||||||
|
|
||||||
|
after_test:
|
||||||
|
- ps: pushd .nuget
|
||||||
|
- ps: .\pack.ps1
|
||||||
|
- ps: popd
|
||||||
|
- ps: cp .\.nuget\*.nupkg .
|
||||||
|
|
||||||
install:
|
artifacts:
|
||||||
- appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/v3.5.0/nuget.exe
|
- 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'
|
||||||
|
|
||||||
before_build:
|
deploy:
|
||||||
- ps: nuget restore IF.Lastfm.sln
|
provider: NuGet
|
||||||
|
api_key:
|
||||||
build:
|
secure: b4Q8KLmOfeQHZNGbTf4OYud3pvi3aR4rKE35dcLHYBTBaQwc9QeoIkDoG13Jpbxs
|
||||||
project: IF.Lastfm.sln
|
artifact: /.*\.nupkg/
|
||||||
|
|
||||||
test_script:
|
|
||||||
- ps: .\run-tests.ps1
|
|
||||||
|
|
||||||
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: b4Q8KLmOfeQHZNGbTf4OYud3pvi3aR4rKE35dcLHYBTBaQwc9QeoIkDoG13Jpbxs
|
|
||||||
artifact: /.*\.nupkg/
|
|
||||||
|
|
||||||
notifications:
|
|
||||||
- provider: Webhook # ping Gitter ticker
|
|
||||||
url: https://webhooks.gitter.im/e/aa615fb57d382a430815
|
|
||||||
|
Loading…
Reference in New Issue
Block a user