mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 15:06:26 +00:00
Added publish script for nuget
This commit is contained in:
parent
c74b210120
commit
c020172469
25
SpotifyAPI/SpotifyAPI.nuspec
Normal file
25
SpotifyAPI/SpotifyAPI.nuspec
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||||
|
<metadata>
|
||||||
|
<id>SpotifyAPI-NET</id>
|
||||||
|
<version>1.0.0</version>
|
||||||
|
<title>SpotifyAPI-NET</title>
|
||||||
|
<authors>JohnnyCrazy</authors>
|
||||||
|
<owners>JohnnyCrazy</owners>
|
||||||
|
<licenseUrl>https://github.com/JohnnyCrazy/SpotifyAPI-NET/blob/master/LICENSE</licenseUrl>
|
||||||
|
<projectUrl>https://github.com/JohnnyCrazy/SpotifyAPI-NET/</projectUrl>
|
||||||
|
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||||
|
<description>An API for the Spotify-Client and Spotify's Web API, written in .NET
|
||||||
|
|
||||||
|
For more infos, visit https://github.com/JohnnyCrazy/SpotifyAPI-NET</description>
|
||||||
|
<language />
|
||||||
|
<tags>spotify api music .net c# spotify-client</tags>
|
||||||
|
<dependencies>
|
||||||
|
<dependency id="Newtonsoft.Json" version="8.0.2" />
|
||||||
|
</dependencies>
|
||||||
|
</metadata>
|
||||||
|
<files>
|
||||||
|
<file src="bin\Release\SpotifyAPI.dll" target="lib\SpotifyAPI.dll" />
|
||||||
|
<file src="bin\Release\SpotifyAPI.XML" target="lib\SpotifyAPI.XML" />
|
||||||
|
</files>
|
||||||
|
</package>
|
11
SpotifyAPI/publish.cmd
Normal file
11
SpotifyAPI/publish.cmd
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
if "%APPVEYOR_REPO_TAG %" == "true" (
|
||||||
|
echo Publishing...
|
||||||
|
|
||||||
|
cd ./SpotifyAPI
|
||||||
|
|
||||||
|
nuget pack -Version %APPVEYOR_REPO_TAG_NAME%
|
||||||
|
|
||||||
|
cd ../
|
||||||
|
) else (
|
||||||
|
echo Skipping Publishing
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user