Skip to content

Commit

Permalink
Published new version to NuGet.
Browse files Browse the repository at this point in the history
  • Loading branch information
JeevanJames committed Jan 5, 2019
1 parent 2c4f17a commit c3e5ded
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
16 changes: 16 additions & 0 deletions scripts/publish.bat
@@ -0,0 +1,16 @@
@echo off
setlocal

if ("%1"=="") goto error

set VERSION=%1
echo %VERSION%
rem dotnet clean
rem dotnet build -c Release
dotnet nuget push .\src\Collections\bin\Release\Collections.NET.%VERSION%.nupkg -s https://api.nuget.org/v3/index.json
goto done

:error
echo Specify the version number

:done
3 changes: 2 additions & 1 deletion src/Collections/Collections.csproj
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.3;net35;net40;net45</TargetFrameworks>
<Version>1.0.0-beta.1</Version>
<Version>1.0.0-beta.2</Version>
<Authors>Jeevan James</Authors>
<Company>Jeevan James</Company>
<Description>Collection extensions and custom collections for .NET.</Description>
Expand All @@ -18,6 +18,7 @@
<Product>Collections.NET</Product>
<PackageIconUrl>https://github.com/JeevanJames/Collections/raw/master/logo.png</PackageIconUrl>
<LangVersion>7.3</LangVersion>
<AssemblyName>Collections.NET</AssemblyName>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
Expand Down
2 changes: 1 addition & 1 deletion src/Collections/Collections.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c3e5ded

Please sign in to comment.