This repository has been archived by the owner. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 118
/
appveyor.2017.yml
57 lines (41 loc) · 1.8 KB
/
appveyor.2017.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
47
48
49
50
51
52
53
54
55
56
57
-
branches:
only:
- release
version: 5.6.{build}
configuration: Release
image: Visual Studio 2017
install:
- ps: (new-object Net.WebClient).DownloadString("https://raw.github.com/madskristensen/ExtensionScripts/master/AppVeyor/vsix.ps1") | iex
before_build:
- cmd: nuget restore RefactoringEssentials\RefactoringEssentials.csproj
- cmd: nuget restore RefactoringEssentials.sln
build:
project: RefactoringEssentials.sln
after_test:
- cmd: nuget pack bin\Release\RefactoringEssentials.nuspec -NoPackageAnalysis -BasePath bin\Release -OutputDirectory bin\Release
- cmd: nuget pack bin\Release\RefactoringEssentials.Library.nuspec -NoPackageAnalysis -BasePath bin\Release -OutputDirectory bin\Release
artifacts:
- path: bin\**\*.nupkg
name: NuGet
- path: bin\**\*.vsix
name: VSIX
-
branches:
only:
- master
version: 5.6.{build}
configuration: Release
image: Visual Studio 2017
install:
- cmd: set PATH=C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin;C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin;%PATH%
- ps: (new-object Net.WebClient).DownloadString("https://raw.github.com/madskristensen/ExtensionScripts/master/AppVeyor/vsix.ps1") | iex
before_build:
- ps: Vsix-IncrementVsixVersion ".\Vsix\source.extension.vsixmanifest" | Vsix-UpdateBuildVersion
- cmd: nuget restore RefactoringEssentials\RefactoringEssentials.csproj
- cmd: nuget restore RefactoringEssentials.sln
build:
project: RefactoringEssentials.sln
after_test:
- ps: Vsix-PushArtifacts | Vsix-PublishToGallery