mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 15:06:26 +00:00
Updated nuspecs and publish script
This commit is contained in:
parent
601b74d3c1
commit
05d1f4de02
@ -8,6 +8,10 @@
|
|||||||
<DocumentationFile>bin\Debug\netstandard2.0\SpotifyAPI.Web.Auth.xml</DocumentationFile>
|
<DocumentationFile>bin\Debug\netstandard2.0\SpotifyAPI.Web.Auth.xml</DocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||||
|
<DocumentationFile>bin\Release\netstandard2.0\SpotifyAPI.Web.Auth.xml</DocumentationFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="EmbedIO" Version="1.15.0" />
|
<PackageReference Include="EmbedIO" Version="1.15.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
@ -19,8 +19,11 @@
|
|||||||
<tags>spotify api music .net c# spotify-client</tags>
|
<tags>spotify api music .net c# spotify-client</tags>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency id="Newtonsoft.Json" version="11.0.2" />
|
<dependency id="Newtonsoft.Json" version="11.0.2" />
|
||||||
|
<dependency id="SpotifyAPI.Web" version="3.0.0" />
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</metadata>
|
</metadata>
|
||||||
<files>
|
<files>
|
||||||
|
<file src="bin\Release\netstandard2.0\SpotifyAPI.Web.Auth.dll" target="lib\SpotifyAPI.Web.Auth.dll" />
|
||||||
|
<file src="bin\Release\netstandard2.0\SpotifyAPI.Web.Auth.xml" target="lib\SpotifyAPI.Web.Auth.xml" />
|
||||||
</files>
|
</files>
|
||||||
</package>
|
</package>
|
||||||
|
@ -8,6 +8,10 @@
|
|||||||
<DocumentationFile>bin\Debug\netstandard2.0\SpotifyAPI.Web.xml</DocumentationFile>
|
<DocumentationFile>bin\Debug\netstandard2.0\SpotifyAPI.Web.xml</DocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||||
|
<DocumentationFile>bin\Release\netstandard2.0\SpotifyAPI.Web.xml</DocumentationFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
|
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
@ -22,5 +22,7 @@
|
|||||||
</dependencies>
|
</dependencies>
|
||||||
</metadata>
|
</metadata>
|
||||||
<files>
|
<files>
|
||||||
|
<file src="bin\Release\netstandard2.0\SpotifyAPI.Web.dll" target="lib\SpotifyAPI.Web.dll" />
|
||||||
|
<file src="bin\Release\netstandard2.0\SpotifyAPI.Web.xml" target="lib\SpotifyAPI.Web.xml" />
|
||||||
</files>
|
</files>
|
||||||
</package>
|
</package>
|
15
publish.cmd
Normal file
15
publish.cmd
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
if "%APPVEYOR_REPO_TAG%" == "true" (
|
||||||
|
|
||||||
|
echo Publishing...
|
||||||
|
|
||||||
|
cd ./SpotifyAPI.Web
|
||||||
|
nuget pack ./SpotifyAPI.Web.nuspec -Version %APPVEYOR_REPO_TAG_NAME%
|
||||||
|
nuget push ./SpotifyAPI.Web.%APPVEYOR_REPO_TAG_NAME%.nupkg -ApiKey %NUGET_TOKEN% -NonInteractive -Source https://www.nuget.org/api/v2/package
|
||||||
|
|
||||||
|
cd ../SpotifyAPI.Web.Auth
|
||||||
|
nuget pack ./SpotifyAPI.Web.Auth.nuspec -Version %APPVEYOR_REPO_TAG_NAME%
|
||||||
|
nuget push ./SpotifyAPI.Web.Auth.%APPVEYOR_REPO_TAG_NAME%.nupkg -ApiKey %NUGET_TOKEN% -NonInteractive -Source https://www.nuget.org/api/v2/package
|
||||||
|
|
||||||
|
) else (
|
||||||
|
echo Skipping Publishing
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user