diff --git a/Build.ps1 b/Build.ps1 index 243f86a..a42982f 100644 --- a/Build.ps1 +++ b/Build.ps1 @@ -1,6 +1,6 @@ param( [String] $majorMinor = "5.5", # 5.5 - [String] $patch = "0", # $env:APPVEYOR_BUILD_VERSION + [String] $patch = "1", # $env:APPVEYOR_BUILD_VERSION [String] $customLogger = "", # C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll [Switch] $notouch, [String] $project = "ReflectSoftware.Insight.Extensions.Log4Net" @@ -39,14 +39,23 @@ function Invoke-NuGetPackProj($csproj) function Invoke-NuGetPackSpec($nuspec, $version) { - nuget pack $nuspec -Version $version -OutputDirectory ..\..\ + md "..\Build\NuGet" + nuget pack $nuspec -Version $version -OutputDirectory ..\Build\NuGet } function Invoke-NuGetPack($version) { - ls src/**/*.csproj | + #ls src/**/*.csproj | + # Where-Object { -not ($_.Name -like "*net40*") } | + # ForEach-Object { Invoke-NuGetPackProj $_ } + + ls src/**/*.csproj | Where-Object { -not ($_.Name -like "*net40*") } | ForEach-Object { Invoke-NuGetPackProj $_ } + + pushd .\src + Invoke-NuGetPackSpec "ReflectSoftware.Insight.Extensions.Log4net.nuspec" $version + popd } function Invoke-Build($project, $majorMinor, $patch, $customLogger, $notouch) @@ -70,10 +79,10 @@ function Invoke-Build($project, $majorMinor, $patch, $customLogger, $notouch) Install-NuGetPackages $solution45 Invoke-MSBuild $solution45 $customLogger - Install-NuGetPackages $solution4 + Install-NuGetPackages $solution4 Invoke-MSBuild $solution4 $customLogger - Install-NuGetPackages $solution2 + Install-NuGetPackages $solution2 Invoke-MSBuild $solution2 $customLogger Invoke-NuGetPack $package diff --git a/assets/VersionInfo.cs b/assets/VersionInfo.cs index 2c3ff97..19a7e3d 100644 --- a/assets/VersionInfo.cs +++ b/assets/VersionInfo.cs @@ -9,4 +9,4 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyVersion("5.5.0.1500")] [assembly: AssemblyFileVersion("5.5.0.1500")] -[assembly: AssemblyInformationalVersion("5.5.0")] +[assembly: AssemblyInformationalVersion("5.5.1")] diff --git a/src/ReflectSoftware.Insight.Extensions.Log4net.nuspec b/src/ReflectSoftware.Insight.Extensions.Log4net.nuspec index 31dfaa1..562c3b3 100644 --- a/src/ReflectSoftware.Insight.Extensions.Log4net.nuspec +++ b/src/ReflectSoftware.Insight.Extensions.Log4net.nuspec @@ -2,7 +2,7 @@ ReflectSoftware.Insight.Extensions.Log4net - 5.5.0 + 5.5.1 ReflectSoftware.Insight.Extensions.Log4net ReflectSoftware Inc. ReflectSoftware Inc. diff --git a/src/readme.txt b/src/readme.txt index 293cd90..452a99d 100644 --- a/src/readme.txt +++ b/src/readme.txt @@ -4,6 +4,9 @@ VERSION 5.4 RELEASE NOTES +Version 5.5.1 +- Added auto save log file by file size + Version 5.4.0 - Added auto save log file by file size - Added support for overloading ConfigurationMode to avoid a local configuration file