From 7bf6f2cbda9f3f2bac75711db58228ed3a8e9a29 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Sat, 25 Nov 2017 17:49:46 -0500 Subject: [PATCH] Adds a seperate tag for updating the nuget package --- appveyor.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 7ad7e7b60c..d228e76daa 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -38,6 +38,7 @@ build: after_build: - ps: Tools/PostCIBuild.ps1 - ps: if($env:APPVEYOR_REPO_COMMIT_MESSAGE -match "\[TGSDeploy\]"){$env:TGSDeploy = "Do it."} + - ps: if($env:APPVEYOR_REPO_COMMIT_MESSAGE -match "\[NugetDeploy\]"){ if($env:APPVEYOR_REPO_BRANCH -match "master"){ $env:NugetDeploy = "Do it." }} - ps: $env:TGSVersion = [System.Diagnostics.FileVersionInfo]::GetVersionInfo("$env:APPVEYOR_BUILD_FOLDER/TGS.Server/bin/Release/TGS.Server.dll").FileVersion test_script: - set path=%ProgramFiles(x86)%\Microsoft Visual Studio\2017\TestAgent\Common7\IDE\CommonExtensions\Microsoft\TestWindow;%path% @@ -62,4 +63,4 @@ deploy: skip_symbols: true artifact: /.*\.nupkg/ on: - TGSDeploy: "Do it." + NugetDeploy: "Do it."