mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-25 22:17:51 +01:00
Adds a seperate tag for updating the nuget package
This commit is contained in:
+2
-1
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user