@@ -5,10 +5,10 @@ $testsPath = Join-Path $buildPath "tests";
55$nuspecsPath = Join-Path $buildPath " build\nuspecs" ;
66$nugetOutput = Join-Path $binPath " NuGets" ;
77
8- # Projects. Nuget Dependencies are handled in the nuspec files themselves and depend on the Major.Minor.Build number only.
8+ # Projects (NuGet dependencies are handled in the nuspec files themselves)
99$imageprocessor = @ {
1010 name = " ImageProcessor"
11- version = " 2.7.0. ${buildNumber} "
11+ version = " 2.8.0 "
1212 folder = Join-Path $buildPath " src\ImageProcessor"
1313 output = Join-Path $binPath " ImageProcessor\lib\net452"
1414 csproj = " ImageProcessor.csproj"
@@ -17,7 +17,7 @@ $imageprocessor = @{
1717
1818$imageProcessorPluginsCair = @ {
1919 name = " ImageProcessor.Plugins.Cair"
20- version = " 1.2.0. ${buildNumber} "
20+ version = " 1.3.0 "
2121 folder = Join-Path $buildPath " src\ImageProcessor.Plugins.Cair"
2222 output = Join-Path $binPath " ImageProcessor.Plugins.Cair\lib\net452"
2323 csproj = " ImageProcessor.Plugins.Cair.csproj"
@@ -26,7 +26,7 @@ $imageProcessorPluginsCair = @{
2626
2727$imageProcessorPluginsWebP = @ {
2828 name = " ImageProcessor.Plugins.WebP"
29- version = " 1.2.0. ${buildNumber} "
29+ version = " 1.3.0 "
3030 folder = Join-Path $buildPath " src\ImageProcessor.Plugins.WebP"
3131 output = Join-Path $binPath " ImageProcessor.Plugins.WebP\lib\net452"
3232 csproj = " ImageProcessor.Plugins.WebP.csproj"
@@ -35,21 +35,21 @@ $imageProcessorPluginsWebP = @{
3535
3636$imageprocessorWeb = @ {
3737 name = " ImageProcessor.Web"
38- version = " 4.10.0. ${buildNumber} "
38+ version = " 4.11.0 "
3939 folder = Join-Path $buildPath " src\ImageProcessor.Web"
4040 output = Join-Path $binPath " ImageProcessor.Web\lib\net452"
4141 csproj = " ImageProcessor.Web.csproj"
4242 nuspec = Join-Path $nuspecsPath " ImageProcessor.Web.nuspec"
4343};
4444
4545$imageprocessorWebConfig = @ {
46- version = " 2.5.0. ${buildNumber} "
46+ version = " 2.6.0 "
4747 nuspec = Join-Path $nuspecsPath " ImageProcessor.Web.Config.nuspec"
4848};
4949
5050$imageProcessorWebPluginsAzureBlobCache = @ {
5151 name = " ImageProcessor.Web.Plugins.AzureBlobCache"
52- version = " 1.5.0. ${buildNumber} "
52+ version = " 1.6.0 "
5353 folder = Join-Path $buildPath " src\ImageProcessor.Web.Plugins.AzureBlobCache"
5454 output = Join-Path $binPath " ImageProcessor.Web.Plugins.AzureBlobCache\lib\net452"
5555 csproj = " ImageProcessor.Web.Plugins.AzureBlobCache.csproj"
@@ -58,7 +58,7 @@ $imageProcessorWebPluginsAzureBlobCache = @{
5858
5959$imageProcessorWebPluginsAmazonS3Cache = @ {
6060 name = " ImageProcessor.Web.Plugins.AmazonS3Cache"
61- version = " 1.0.0. ${buildNumber} "
61+ version = " 1.1.0 "
6262 folder = Join-Path $buildPath " src\ImageProcessor.Web.Plugins.AmazonS3Cache"
6363 output = Join-Path $binPath " ImageProcessor.Web.Plugins.AmazonS3Cache\lib\net452"
6464 csproj = " ImageProcessor.Web.Plugins.AmazonS3Cache.csproj"
@@ -67,7 +67,7 @@ $imageProcessorWebPluginsAmazonS3Cache = @{
6767
6868$imageProcessorWebPluginsPostProcessor = @ {
6969 name = " ImageProcessor.Web.Plugins.PostProcessor"
70- version = " 1.4.0. ${buildNumber} "
70+ version = " 1.5.0 "
7171 folder = Join-Path $buildPath " src\ImageProcessor.Web.Plugins.PostProcessor"
7272 output = Join-Path $binPath " ImageProcessor.Web.Plugins.PostProcessor\lib\net452"
7373 csproj = " ImageProcessor.Web.Plugins.PostProcessor.csproj"
@@ -118,8 +118,9 @@ foreach ($project in $projects) {
118118 continue ;
119119 }
120120
121- Write-Host " Building project $ ( $project.name ) at version $ ( $project.version ) " - ForegroundColor Yellow;
122- Update-AssemblyInfo - file (Join-Path $project.folder " Properties\AssemblyInfo.cs" ) - version $project.version ;
121+ $assemblyVersion = " $ ( $project.version ) .$buildNumber " ;
122+ Write-Host " Building Project $ ( $project.name ) at version $ ( $assemblyVersion ) " - ForegroundColor Yellow;
123+ Update-AssemblyInfo - file (Join-Path $project.folder " Properties\AssemblyInfo.cs" ) - version $assemblyVersion ;
123124
124125 $buildCommand = " msbuild $ ( Join-Path $project.folder $project.csproj ) /t:Build /p:Warnings=true /p:Configuration=Release /p:Platform=AnyCPU /p:PipelineDependsOnBuild=False /p:OutDir=$ ( $project.output ) /clp:WarningsOnly /clp:ErrorsOnly /clp:Summary /clp:PerformanceSummary /v:Normal /nologo" ;
125126 Write-Host $buildCommand - ForegroundColor Yellow;
0 commit comments