mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-26 14:37:44 +01:00
Add Server Console artifact to CI
This commit is contained in:
@@ -11,6 +11,7 @@ function CodeSign
|
||||
if (Test-Path env:snk_passphrase)
|
||||
{
|
||||
CodeSign "$bf/TGS.Tests/bin/Release/TGS.Tests.dll"
|
||||
CodeSign "$bf/TGS.Server.Console/bin/Release/TGS.Server.Console.exe"
|
||||
CodeSign "$bf/TGS.Installer.UI/bin/Release/TG Station Server Installer.exe"
|
||||
$env:snk_passphrase = ""
|
||||
}
|
||||
@@ -36,7 +37,23 @@ Copy-Item "$bf\TGS.Interface\bin\Release\TGServiceInterface.dll" "$src2\TGServic
|
||||
$dest2 = "$bf\TGS3-Client-v$version.zip"
|
||||
|
||||
[io.compression.zipfile]::CreateFromDirectory($src2, $dest2)
|
||||
|
||||
$src3 = "$bf\ServerConsole"
|
||||
[system.io.directory]::CreateDirectory($src3)
|
||||
Copy-Item "$bf\TGS.CommandLine\bin\Release\TGCommandLine.exe" "$src3\TGCommandLine.exe"
|
||||
Copy-Item "$bf\TGS.ControlPanel\bin\Release\TGControlPanel.exe" "$src3\TGControlPanel.exe"
|
||||
Copy-Item "$bf\TGS.ControlPanel\bin\Release\Octokit.dll" "$src3\Octokit.dll"
|
||||
Copy-Item "$bf\TGS.Interface\bin\Release\TGServiceInterface.dll" "$src3\TGServiceInterface.dll"
|
||||
Copy-Item "$bf\TGS.Server\bin\Release\TGS.Server.dll" "$src3\TGS.Server.dll"
|
||||
Copy-Item "$bf\TGS.Server.Console\bin\Release\TGS.Server.Console.exe" "$src3\TGS.Server.Console.exe"
|
||||
|
||||
$dest3 = "$bf\TGS3-ServerConsole-v$version.zip"
|
||||
|
||||
[io.compression.zipfile]::CreateFromDirectory($src3, $dest3)
|
||||
|
||||
$destination_md5sha2 = "$bf\MD5-SHA1-Client-v$version.txt"
|
||||
$destination_md5sha3 = "$bf\MD5-SHA1-ServerConsole-v$version.txt"
|
||||
|
||||
& fciv -both $destination > $destination_md5sha
|
||||
& fciv -both $dest2 > $destination_md5sha2
|
||||
& fciv -both $dest3 > $destination_md5sha3
|
||||
|
||||
@@ -14,6 +14,10 @@ artifacts:
|
||||
name: TGS3Server
|
||||
- path: MD5-SHA1-Server-v*.txt
|
||||
name: MD5SHA1Server
|
||||
- path: TGS3-ServerConsole-v*.zip
|
||||
name: TGS3ServerConsole
|
||||
- path: MD5-SHA1-ServerConsole-v*.txt
|
||||
name: MD5SHA1ServerConsole
|
||||
- path: TGS3-Client-v*.zip
|
||||
name: TGS3Client
|
||||
- path: MD5-SHA1-Client-v*.txt
|
||||
|
||||
Reference in New Issue
Block a user