Skip to content

Commit

Permalink
Build warnings and hacked back to static version number
Browse files Browse the repository at this point in the history
(Fix properly when moved to NET standard and new csproj)
  • Loading branch information
martinsmith1968 committed Dec 27, 2019
1 parent a77bd40 commit afe4348
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DNX.Helpers/DNX.Helpers.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ https://stackoverflow.com/questions/14797525/differences-between-nuget-packing-a
<package >
<metadata>
<id>DNX.Helpers</id>
<version>$version$</version>
<version>1.2.2</version>
<authors>Martin Smith</authors>
<owners>DNX Solutions Ltd</owners>
<licenseUrl>https://raw.githubusercontent.com/martinsmith1968/DNX.Helpers/master/licence.txt</licenseUrl>
Expand Down
2 changes: 2 additions & 0 deletions NuGet.Pack.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ CALL SetNuGetServerAPIKey.cmd "%APPNAME%"

IF EXIST *.nupkg DEL *.nupkg

@ECHO ON
"%NUGETEXE%" pack "%SCRIPTPATH%\%APPNAME%\%APPNAME%.csproj"
@ECHO OFF
2 changes: 2 additions & 0 deletions NuGet.Push.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
4 changes: 0 additions & 4 deletions Test.DNX.Helpers/Strings/StringExtensionsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -337,10 +337,6 @@ public bool Test_IsValidNumber_default_culture(string text, string cultureInfoNa

return result;
}
catch (Exception e)
{
throw;
}
finally
{
CultureInfo.DefaultThreadCurrentCulture = previousCulture;
Expand Down

0 comments on commit afe4348

Please sign in to comment.