mirror of
https://github.com/Sarsoo/IF.Lastfm.git
synced 2024-10-17 07:13:09 +01:00
0bb5529365
nuget property in appveyor.yml adds the feeds to NuGet's sources, doesn't publish to them
67 lines
1.3 KiB
YAML
67 lines
1.3 KiB
YAML
-
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
version: 0.2.0.{build}
|
|
|
|
assembly_info:
|
|
patch: true
|
|
file: AssemblyInfo.*
|
|
assembly_version: "{version}"
|
|
assembly_file_version: "{version}"
|
|
assembly_informational_version: "{version}"
|
|
|
|
configuration: Release
|
|
|
|
before_build:
|
|
- ps: nuget restore IF.Lastfm.sln
|
|
|
|
build:
|
|
project: IF.Lastfm.sln
|
|
|
|
after_test:
|
|
- ps: .nuget\pack.ps1 -versionSuffix prerelease
|
|
|
|
artifacts:
|
|
- path: src\IF.Lastfm.Core\bin\Release\IF.Lastfm.Core.dll
|
|
name: IF.Lastfm.Core.dll
|
|
- path: '\*-prerelease.nupkg'
|
|
|
|
-
|
|
branches:
|
|
only:
|
|
- release
|
|
|
|
# don't forget to update this!
|
|
version: 0.1.2.{build}
|
|
|
|
assembly_info:
|
|
patch: true
|
|
file: AssemblyInfo.*
|
|
assembly_version: "{version}"
|
|
assembly_file_version: "{version}"
|
|
assembly_informational_version: "{version}"
|
|
|
|
configuration: Release
|
|
|
|
before_build:
|
|
- ps: nuget restore IF.Lastfm.sln
|
|
|
|
build:
|
|
project: IF.Lastfm.sln
|
|
|
|
after_test:
|
|
- ps: .nuget\pack.ps1
|
|
|
|
artifacts:
|
|
- path: src\IF.Lastfm.Core\bin\Release\IF.Lastfm.Core.dll
|
|
name: IF.Lastfm.Core.dll
|
|
- path: '\*.nupkg'
|
|
|
|
deploy:
|
|
provider: NuGet
|
|
api_key:
|
|
secure: b4Q8KLmOfeQHZNGbTf4OYud3pvi3aR4rKE35dcLHYBTBaQwc9QeoIkDoG13Jpbxs
|
|
artifact: /.*\.nupkg/
|