Skip to content

Commit 326a3b5

Browse files
committed
Automatic release to NuGet and GitHub - vsix is still manual.
1 parent 5b27e77 commit 326a3b5

File tree

1 file changed

+39
-4
lines changed

1 file changed

+39
-4
lines changed

appveyor.yml

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,49 @@
11
environment:
2-
nuget_version: '2.0.0'
3-
vsix_version: '2.0.0'
4-
assembly_version: '2.0.0'
2+
nuget_version: '2.1.0'
3+
nuget_prerelease: false
4+
vsix_version: '2.1.0'
5+
assembly_version: '2.1.0'
56

67
version: '$(nuget_version)+{build}'
8+
9+
deploy:
10+
- provider: GitHub
11+
description: |
12+
* Support for nested "and" style tests (thanks to molszews)
13+
* Fix error when trying to run tests for an assembly that doesn't reference mspec (thanks to alnixon)
14+
* The mspec dependency version has been relaxed - was < 0.10 and now is < 1.0.0, which means that you can now use MSpec 0.11
15+
16+
![](https://cloud.githubusercontent.com/assets/2878612/18577095/5dfbc216-7be7-11e6-93aa-d00fdccca1c6.PNG)
17+
18+
on:
19+
appveyor_repo_tag: true
20+
prerelease: $(nuget_prerelease)
21+
22+
release: v$(nuget_version)
23+
auth_token:
24+
secure: VrF5TrpBRN0ims9nJC1LG32O6ga5hsRuGNSufEbatAiIWZ1z68iiCYKZtqnAaT9y
25+
26+
- provider: NuGet
27+
api_key:
28+
secure: R+qirYPrTX9IzJHpRLL6KAV1Lo+vlAnInf6ShiIB2rAGIP28ceJxRAh1jirHE/uD
29+
on:
30+
appveyor_repo_tag: true
31+
32+
clone_depth: 5
33+
34+
pull_requests:
35+
do_not_increment_build_number: true
36+
737
configuration: Release
838
platform: Any CPU
39+
940
assembly_info:
1041
patch: true
1142
file: Source\**\AssemblyInfo.*
1243
assembly_version: '$(assembly_version).{build}'
1344
assembly_file_version: '$(assembly_version).{build}'
1445
assembly_informational_version: '$(nuget_version)'
46+
1547
before_build:
1648
- cmd: >-
1749
powershell -f patch-vsix-version.ps1 -version "%VSIX_VERSION%.%APPVEYOR_BUILD_NUMBER%" -manifestFile "Source\Machine.VSTestAdapter.VSIX\source.extension.vsixmanifest"
@@ -21,8 +53,11 @@ build:
2153
project: machine.vstestadapter.sln
2254
publish_nuget: true
2355
verbosity: minimal
56+
2457
test:
2558
assemblies: '**\*.Specs.dll'
59+
2660
artifacts:
2761
- path: '**\*.vsix'
28-
- path: Source\**\*.nupkg
62+
- path: Source\**\*.nupkg
63+

0 commit comments

Comments
 (0)