forked from madskristensen/BundlerMinifier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
28 lines (21 loc) · 916 Bytes
/
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
version: 1.0.{build}
os: Visual Studio 2015
install:
- ps: (new-object Net.WebClient).DownloadString("https://raw.github.com/madskristensen/ExtensionScripts/master/AppVeyor/vsix.ps1") | iex
before_build:
- ps: Vsix-IncrementVsixVersion | Vsix-UpdateBuildVersion
- ps: Vsix-IncrementNuspecVersion .\src\BundlerMinifier\MSBuild\*.nuspec
- ps: Vsix-TokenReplacement src\BundlerMinifierVsix\BundlerMinifierPackage.cs 'Version = "([0-9\\.]+)"' 'Version = "{version}"'
build_script:
- nuget restore -Verbosity quiet
- msbuild /p:configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /v:m
after_test:
- ps: Vsix-PushArtifacts
artifacts:
- path: src\BundlerMinifier\**\*.nupkg
deploy:
- provider: NuGet
api_key:
secure: 6xBu/05BWJDPa2PRkxEH3PHU/caLvy2lzf1eWdRBGXwSCTejHtI+6e0V4s2LaVri
after_deploy:
- ps: Vsix-PublishToGallery .\src\BundlerMinifierVsix\**\*.vsix