Skip to content

Commit c020172

Browse files
author
Jonas Dellinger
committed
Added publish script for nuget
1 parent c74b210 commit c020172

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

‎SpotifyAPI/SpotifyAPI.nuspec‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
3+
<metadata>
4+
<id>SpotifyAPI-NET</id>
5+
<version>1.0.0</version>
6+
<title>SpotifyAPI-NET</title>
7+
<authors>JohnnyCrazy</authors>
8+
<owners>JohnnyCrazy</owners>
9+
<licenseUrl>https://github.com/JohnnyCrazy/SpotifyAPI-NET/blob/master/LICENSE</licenseUrl>
10+
<projectUrl>https://github.com/JohnnyCrazy/SpotifyAPI-NET/</projectUrl>
11+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12+
<description>An API for the Spotify-Client and Spotify's Web API, written in .NET
13+
14+
For more infos, visit https://github.com/JohnnyCrazy/SpotifyAPI-NET</description>
15+
<language />
16+
<tags>spotify api music .net c# spotify-client</tags>
17+
<dependencies>
18+
<dependency id="Newtonsoft.Json" version="8.0.2" />
19+
</dependencies>
20+
</metadata>
21+
<files>
22+
<file src="bin\Release\SpotifyAPI.dll" target="lib\SpotifyAPI.dll" />
23+
<file src="bin\Release\SpotifyAPI.XML" target="lib\SpotifyAPI.XML" />
24+
</files>
25+
</package>

‎SpotifyAPI/publish.cmd‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
if "%APPVEYOR_REPO_TAG %" == "true" (
2+
echo Publishing...
3+
4+
cd ./SpotifyAPI
5+
6+
nuget pack -Version %APPVEYOR_REPO_TAG_NAME%
7+
8+
cd ../
9+
) else (
10+
echo Skipping Publishing
11+
)

0 commit comments

Comments
 (0)