Adds a nuget package for the interface

This commit is contained in:
Cyberboss
2017-10-31 21:00:48 -04:00
parent c75d7ec237
commit b3e6905e26
4 changed files with 44 additions and 8 deletions
+4
View File
@@ -158,3 +158,7 @@ Just becuase something isn't on this list doesn't mean that it's acceptable. Use
Yes, we know that the files have a tonne of mixed Windows and Linux line endings. Attempts to fix this have been met with less than stellar success, and as such we have decided to give up caring until there comes a time when it matters.
Therefore, EOF settings of main repo are forbidden territory one must avoid wandering into, at risk of losing body and/or mind to the Git gods.
## Other Notes
* Feel free to add your nuget account to TGServiceInterface/Packages.nuspec authors list if you modify the interface
@@ -72,6 +72,7 @@
<Content Include="tgs.ico" />
</ItemGroup>
<ItemGroup>
<None Include="TGServiceInterface.nuspec" />
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
@@ -0,0 +1,24 @@
<?xml version="1.0"?>
<package >
<metadata>
<id>TGStation.Server.Interface</id>
<version>$version$</version>
<authors>Cyberboss</authors>
<owners>Cyberboss</owners>
<licenseUrl>https://github.com/tgstation/tgstation-server/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/tgstation/tgstation-server</projectUrl>
<iconUrl>https://tgstation.github.io/tgstation-server/tgs.ico</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Interface for managing /tg/station server</description>
<copyright>Copyright 2017</copyright>
<tags>tgstation game-server byond service toolset wcf ss13 client-lib tgstation-server api wcf-service soap</tags>
<dependencies>
<group targetFramework="net452">
<dependency id="UnmanagedExports" version="1.2.7" />
</group>
</dependencies>
</metadata>
<files>
<file src="bin\x86\Release\TGServiceInterface.xml" target="lib\net452" />
</files>
</package>
+15 -8
View File
@@ -29,12 +29,19 @@ after_build:
- ps: if($env:APPVEYOR_REPO_COMMIT_MESSAGE -match "\[TGSDeploy\]"){$env:TGSDeploy = "Do it."}
- ps: $env:TGSVersion = [System.Diagnostics.FileVersionInfo]::GetVersionInfo("$env:APPVEYOR_BUILD_FOLDER/TGServerService/bin/x86/Release/TGServerService.exe").FileVersion
deploy:
release: "tgstation-server-v$(TGSVersion)"
description: 'The /tg/station server suite'
provider: GitHub
auth_token:
- provider: GitHub
release: "tgstation-server-v$(TGSVersion)"
description: 'The /tg/station server suite'
auth_token:
secure: lJNGAXwiB5HlWdthz3K4PetqpTG5IEAyRgKaiKxFMQ8HW8CcOjRtB97B05op7BsK
artifact: TGS3Server,MD5SHA1Server,TGS3Client,MD5SHA1Client
draft: false
on:
TGSDeploy: "Do it."
artifact: TGS3Server,MD5SHA1Server,TGS3Client,MD5SHA1Client
draft: false
on:
TGSDeploy: "Do it."
- provider: NuGet
api_key:
secure: bedsYuLMqGREzkVkJqRx+BTMgOvDO76tgaNc8sW5E3Ao6iw8oGHdJ/BZov8y0iKa
skip_symbols: true
artifact: /.*\.nupkg/
on:
TGSDeploy: "Do it."