forked from peteraritchie/LongPath
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
46 lines (36 loc) · 1.17 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
version: 2.0.{build}
branches:
only:
- master
configuration: Release
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
nuget:
project_feed: true
build:
project: LongPath.sln
verbosity: minimal
after_build:
- cmd: >-
if not exist nuget\lib\net40 md nuget\lib\net40
copy Pri.LongPath.net40\bin\Release\Pri.LongPath.dll nuget\lib\net40
copy Pri.LongPath.net40\bin\Release\Pri.LongPath.pdb nuget\lib\net40
if not exist nuget\lib\net20 md nuget\lib\net20
copy Pri.LongPath.net20\bin\Release\Pri.LongPath.dll nuget\lib\net20
copy Pri.LongPath.net20\bin\Release\Pri.LongPath.pdb nuget\lib\net20
if not exist nuget\lib\net45 md nuget\lib\net45
copy Pri.LongPath\bin\Release\Pri.LongPath.dll nuget\lib\net45
copy Pri.LongPath\bin\Release\Pri.LongPath.pdb nuget\lib\net45
nuget.exe pack nuget\LongPath.nuspec -Symbols -version %APPVEYOR_BUILD_VERSION%
artifacts:
- path: '*.nupkg'
name: nuget
deploy:
- provider: NuGet
api_key:
secure: K+dA1tJ3qNFfJ6G484VCFE9igeHb/BGa6tdJVKcaxvHYK6rwPsKrO/c5EahHvxsP
artifact: nuget