Skip to content

Commit c3c2d4f

Browse files
committed
fix appveyor.yml
1 parent e5b9354 commit c3c2d4f

1 file changed

Lines changed: 18 additions & 5 deletions

File tree

appveyor.yml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
version: 1.0.{build}
1+
version: 1.1.{build}
2+
pull_requests:
3+
do_not_increment_build_number: true
24
skip_branch_with_pr: true
35
image: Visual Studio 2017
46
configuration: Release
@@ -8,15 +10,14 @@ nuget:
810
account_feed: true
911
project_feed: true
1012
build:
11-
project: src\GodSharp.SerialPort\GodSharp.SerialPort.csproj
13+
project: GodSharp.SerialPort.sln
1214
publish_nuget: true
13-
publish_nuget_symbols: false
1415
include_nuget_references: true
1516
verbosity: minimal
1617
test: off
1718
artifacts:
18-
- path: '**\*.nupkg'
19-
name: NeGet
19+
- path: test\GodSharp.SerialPort.ConsoleSample\bin\$(configuration)\
20+
name: GodSharp.SerialPort.ConsoleSample-v$(appveyor_build_version).zip
2021
deploy:
2122
- provider: NuGet
2223
server: https://www.nuget.org/api/v2/package
@@ -25,6 +26,7 @@ deploy:
2526
skip_symbols: true
2627
artifact: /.*\.nupkg/
2728
on:
29+
branch: master
2830
APPVEYOR_REPO_TAG: true
2931
- provider: NuGet
3032
server: https://www.myget.org/F/seay/api/v2/package
@@ -33,4 +35,15 @@ deploy:
3335
skip_symbols: true
3436
artifact: /.*\.nupkg/
3537
on:
38+
branch: master
39+
APPVEYOR_REPO_TAG: true
40+
- provider: GitHub
41+
description: Release.
42+
auth_token:
43+
secure: uCHTzET52dtiexqTKhgQmup+EBGZs1Afw6eBMfvN4PbQ720YaybNd890Y96ISZ0T
44+
artifact: /.*\.(?:nupkg|zip)/
45+
draft: true
46+
force_update: true
47+
on:
48+
branch: master
3649
APPVEYOR_REPO_TAG: true

0 commit comments

Comments
 (0)