diff --git a/DNX.Helpers/DNX.Helpers.nuspec b/DNX.Helpers/DNX.Helpers.nuspec index a27d13c..fb91600 100644 --- a/DNX.Helpers/DNX.Helpers.nuspec +++ b/DNX.Helpers/DNX.Helpers.nuspec @@ -5,7 +5,7 @@ https://stackoverflow.com/questions/14797525/differences-between-nuget-packing-a DNX.Helpers - $version$ + 1.2.2 Martin Smith DNX Solutions Ltd https://raw.githubusercontent.com/martinsmith1968/DNX.Helpers/master/licence.txt diff --git a/NuGet.Pack.cmd b/NuGet.Pack.cmd index df76bc6..9e3035b 100644 --- a/NuGet.Pack.cmd +++ b/NuGet.Pack.cmd @@ -16,4 +16,6 @@ CALL SetNuGetServerAPIKey.cmd "%APPNAME%" IF EXIST *.nupkg DEL *.nupkg +@ECHO ON "%NUGETEXE%" pack "%SCRIPTPATH%\%APPNAME%\%APPNAME%.csproj" +@ECHO OFF diff --git a/NuGet.Push.cmd b/NuGet.Push.cmd index 461b68e..f6a7367 100644 --- a/NuGet.Push.cmd +++ b/NuGet.Push.cmd @@ -18,5 +18,7 @@ CALL SetNuGetServerAPIKey.cmd "%APPNAME%" FOR %%F IN (*.nupkg) DO ( ECHO.Pushing: %%~F + @ECHO ON %NUGETEXE% push "%%~F" -Source "%NUGETSERVERAPIURL%" -ApiKey "%NUGETSERVERAPIKEY%" + @ECHO OFF ) diff --git a/Test.DNX.Helpers/Strings/StringExtensionsTests.cs b/Test.DNX.Helpers/Strings/StringExtensionsTests.cs index 55685d8..709ccc9 100644 --- a/Test.DNX.Helpers/Strings/StringExtensionsTests.cs +++ b/Test.DNX.Helpers/Strings/StringExtensionsTests.cs @@ -337,10 +337,6 @@ public bool Test_IsValidNumber_default_culture(string text, string cultureInfoNa return result; } - catch (Exception e) - { - throw; - } finally { CultureInfo.DefaultThreadCurrentCulture = previousCulture;