Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
mastersign committed May 17, 2017
2 parents 9cf30cb + a12f72e commit 6cce339
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 16 deletions.
4 changes: 2 additions & 2 deletions BenchManager/BenchCLI/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.16.0.0")]
[assembly: AssemblyFileVersion("0.16.0.0")]
[assembly: AssemblyVersion("0.16.1.0")]
[assembly: AssemblyFileVersion("0.16.1.0")]
4 changes: 2 additions & 2 deletions BenchManager/BenchDashboard/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.16.0.0")]
[assembly: AssemblyFileVersion("0.16.0.0")]
[assembly: AssemblyVersion("0.16.1.0")]
[assembly: AssemblyFileVersion("0.16.1.0")]
18 changes: 11 additions & 7 deletions BenchManager/BenchLib/BenchTasks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -948,6 +948,7 @@ private static ActionResult RunTasks(IBenchManager man,
logger = new TaskInfoLogger(file, logLevel == LogLevels.Error);
}

var notificationLock = new object();
var infos = new List<TaskInfo>();
var errorIds = new List<string>();
var taskProgress = 0f;
Expand All @@ -959,14 +960,17 @@ private static ActionResult RunTasks(IBenchManager man,
{
info = ((TaskProgress)info).ScaleProgress(taskProgress, 1f / tasks.Length);
}
if (info is TaskError && info.AppId != null && !errorIds.Contains(info.AppId))
lock (notificationLock)
{
errorIds.Add(info.AppId);
}
infos.Add(info);
if (logger != null)
{
logger.Log(info);
if (info is TaskError && info.AppId != null && !errorIds.Contains(info.AppId))
{
errorIds.Add(info.AppId);
}
infos.Add(info);
if (logger != null)
{
logger.Log(info);
}
}
notify(info);
};
Expand Down
4 changes: 2 additions & 2 deletions BenchManager/BenchLib/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.16.0.0")]
[assembly: AssemblyFileVersion("0.16.0.0")]
[assembly: AssemblyVersion("0.16.1.0")]
[assembly: AssemblyFileVersion("0.16.1.0")]
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ Add a link to the GitHub diff like

[Unreleased]: https://github.com/mastersign/bench/compare/master...dev

## [0.16.1] - 2017-05-17

[0.16.1]: https://github.com/mastersign/bench/compare/v0.16.0...v0.16.1

### Fixed
- Crash when downloading (race condition during notification processing)
([#108](https://github.com/mastersign/bench/issues/108))

## [0.16.0] - 2017-05-16

[0.16.0]: https://github.com/mastersign/bench/compare/v0.15.2...v0.16.0
Expand Down
4 changes: 2 additions & 2 deletions res/bench-install.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
:: http://mastersign.github.io/bench/guide/setup/
::

SET VERSION=0.16.0
SET VERSION=0.16.1
SET ROOT=%~dp0
SET TAG=v%VERSION%
SET BENCH_ZIPURL=https://github.com/mastersign/bench/releases/download/%TAG%/Bench.zip
Expand Down Expand Up @@ -76,7 +76,7 @@ POPD
ECHO.Deleting 'bench.zip' ...
DEL "%BENCH_ZIPFILE%"

ECHO.Deleting 'bench-install.bat' and exiting ...
ECHO.Deleting '%BENCH_BOOTSTRAP_FILE%' and exiting ...
ECHO.A copy can always be found in the 'res' folder.
:: Trick to exit the script before deleting it
(GOTO) 2>nul & DEL "%BENCH_BOOTSTRAP_FILE%"
Expand Down
2 changes: 1 addition & 1 deletion res/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.16.0
0.16.1

0 comments on commit 6cce339

Please sign in to comment.