From 4aab26164ddc94722ffb70108444dd6b6cd4950d Mon Sep 17 00:00:00 2001 From: ricardofslp Date: Sun, 7 Jul 2024 11:59:20 +0100 Subject: [PATCH 1/7] fix: fixed logic to have right naming in inline parameters #156 --- src/RerunCommand/RerunCommandConfiguration.cs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/RerunCommand/RerunCommandConfiguration.cs b/src/RerunCommand/RerunCommandConfiguration.cs index 2eefb8f..4c7bde4 100644 --- a/src/RerunCommand/RerunCommandConfiguration.cs +++ b/src/RerunCommand/RerunCommandConfiguration.cs @@ -306,16 +306,18 @@ private string FetchPArgumentsFromParse(ParseResult parseResult) private string FetchInlineRunSettingsFromParse(ParseResult parseResult) { var inlineSettings = new StringBuilder(); - var inlinesettingsOption = parseResult.GetValueForOption(InlineRunSettingsOption); + var inlineSettingsOption = parseResult.GetValueForOption(InlineRunSettingsOption); - if (inlinesettingsOption is not null && - inlinesettingsOption.Length > 0) + if (inlineSettingsOption is not null && + inlineSettingsOption.Length > 0) { inlineSettings.Append(" -- "); - inlineSettings.Append(string.Join(" ", inlinesettingsOption)); + inlineSettings.Append(string.Join(" ", inlineSettingsOption)); } - return inlineSettings.ToString(); + return inlineSettings.ToString().Replace("\"", "\\\""); + + } From 2cc9de945f5b183fe6a3c6bbe7427a663a1b3742 Mon Sep 17 00:00:00 2001 From: ricardofslp Date: Sun, 7 Jul 2024 12:00:09 +0100 Subject: [PATCH 2/7] chore(release): 2.0.0-alpha.0 --- src/CHANGELOG.md | 17 +++++++++++++++++ src/dotnet-test-rerun.csproj | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md index 3f0cbd8..dfbab79 100644 --- a/src/CHANGELOG.md +++ b/src/CHANGELOG.md @@ -2,6 +2,23 @@ All notable changes to this project will be documented in this file. See [versionize](https://github.com/versionize/versionize) for commit guidelines. + +## [2.0.0-alpha.0](https://www.github.com/joaoopereira/dotnet-test-rerun/releases/tag/v2.0.0-alpha.0) (2024-07-07) + +### Features + +* bump target framework to net8.0 ([5db2b5b](https://www.github.com/joaoopereira/dotnet-test-rerun/commit/5db2b5b891575f8b2492b682eb3b0748c86e8e9b)) + +### Bug Fixes + +* fixed logic to have right naming in inline parameters ([4aab261](https://www.github.com/joaoopereira/dotnet-test-rerun/commit/4aab26164ddc94722ffb70108444dd6b6cd4950d)) +* solve issues in verbosity normal ([0e659ed](https://www.github.com/joaoopereira/dotnet-test-rerun/commit/0e659ede300a72d0bf246d118a42a586f56fc788)) +* test on verbosity tests ([d6ef454](https://www.github.com/joaoopereira/dotnet-test-rerun/commit/d6ef4543d0bf76dd18b3873c84e1fb61f9a47168)) + +### Breaking Changes + +* bump target framework to net8.0 ([5db2b5b](https://www.github.com/joaoopereira/dotnet-test-rerun/commit/5db2b5b891575f8b2492b682eb3b0748c86e8e9b)) + ## [1.9.0-alpha.1](https://www.github.com/joaoopereira/dotnet-test-rerun/releases/tag/v1.9.0-alpha.1) (2023-12-19) diff --git a/src/dotnet-test-rerun.csproj b/src/dotnet-test-rerun.csproj index ee9360d..87854f4 100644 --- a/src/dotnet-test-rerun.csproj +++ b/src/dotnet-test-rerun.csproj @@ -14,7 +14,7 @@ README.md GPL-3.0-or-later True - 1.9.0-alpha.1 + 2.0.0-alpha.0 https://github.com/joaoopereira/dotnet-test-rerun wrapper of dotnet test command that automatic rerun failed tests https://github.com/joaoopereira/dotnet-test-rerun From 9bf4b1c95dbf5f2e13e0e5f0eb6fffa515174009 Mon Sep 17 00:00:00 2001 From: ricardofslp Date: Sun, 7 Jul 2024 12:03:10 +0100 Subject: [PATCH 3/7] feat: refactor in logger --- src/CHANGELOG.md | 10 ++++++++++ src/Logging/Logger.cs | 2 +- src/dotnet-test-rerun.csproj | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md index dfbab79..01f8f55 100644 --- a/src/CHANGELOG.md +++ b/src/CHANGELOG.md @@ -2,6 +2,16 @@ All notable changes to this project will be documented in this file. See [versionize](https://github.com/versionize/versionize) for commit guidelines. + +## [2.0.0-alpha.2](https://www.github.com/joaoopereira/dotnet-test-rerun/releases/tag/v2.0.0-alpha.2) (2024-07-07) + +### Bug Fixes + +* refactor in logger ([f0a61bc](https://www.github.com/joaoopereira/dotnet-test-rerun/commit/f0a61bceeda19f5897237716da5df5cabd90c7cb)) + + +## [2.0.0-alpha.1](https://www.github.com/joaoopereira/dotnet-test-rerun/releases/tag/v2.0.0-alpha.1) (2024-07-07) + ## [2.0.0-alpha.0](https://www.github.com/joaoopereira/dotnet-test-rerun/releases/tag/v2.0.0-alpha.0) (2024-07-07) diff --git a/src/Logging/Logger.cs b/src/Logging/Logger.cs index ebf6dfe..a83676a 100644 --- a/src/Logging/Logger.cs +++ b/src/Logging/Logger.cs @@ -131,7 +131,7 @@ private void Write(string msg) /// /// message to be escaped /// escaped message - private string EscapeMarkup(string msg) => msg?.Replace("[", "[[").Replace("]", "]]"); + private string EscapeMarkup(string msg) => msg!.Replace("[", "[[").Replace("]", "]]"); /// /// LogLevel Parser diff --git a/src/dotnet-test-rerun.csproj b/src/dotnet-test-rerun.csproj index 87854f4..2abb4c9 100644 --- a/src/dotnet-test-rerun.csproj +++ b/src/dotnet-test-rerun.csproj @@ -14,7 +14,7 @@ README.md GPL-3.0-or-later True - 2.0.0-alpha.0 + 2.0.0-alpha.2 https://github.com/joaoopereira/dotnet-test-rerun wrapper of dotnet test command that automatic rerun failed tests https://github.com/joaoopereira/dotnet-test-rerun From 5e834c67f1f453db8f3875ea5ee75794793f0c5c Mon Sep 17 00:00:00 2001 From: ricardofslp Date: Sun, 7 Jul 2024 12:18:48 +0100 Subject: [PATCH 4/7] chore: update changelog --- .dotnetexec.json | 4 ++-- CHANGELOG.md | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.dotnetexec.json b/.dotnetexec.json index 78f04b6..1194e13 100644 --- a/.dotnetexec.json +++ b/.dotnetexec.json @@ -4,12 +4,12 @@ "commands": { "bump": [ "cd src", - "dotnet versionize --pre-release alpha --proj-version-bump-logic", + "dotnet versionize --pre-release alpha --find-release-commit-via-message", "git push --tag origin", "git push" ], "bump:live": [ - "dotnet versionize --aggregate-pre-releases --proj-version-bump-logic", + "dotnet versionize --aggregate-pre-releases --find-release-commit-via-message", "git push --tag origin", "git push" ] diff --git a/CHANGELOG.md b/CHANGELOG.md index 60572e0..8ce6886 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ All notable changes to this project will be documented in this file. See [versionize](https://github.com/versionize/versionize) for commit guidelines. + +## [2.0.0](https://www.github.com/joaoopereira/dotnet-test-rerun/releases/tag/v2.0.0) (2024-02-15) + +### Features + +## What's Changed +* chore(deps): bump kzrnm/get-net-sdk-project-versions-action from 1 to 2 by @dependabot in https://github.com/joaoopereira/dotnet-test-rerun/pull/134 +* feat: bump target framework to net8.0 by @ricardofslp in https://github.com/joaoopereira/dotnet-test-rerun/pull/133 + ## [1.9.0](https://www.github.com/joaoopereira/dotnet-test-rerun/releases/tag/v1.9.0) (2024-01-10) From 48ca12c5347ffaab8b92121ac0e19374f0c9915e Mon Sep 17 00:00:00 2001 From: ricardofslp Date: Sun, 7 Jul 2024 12:23:24 +0100 Subject: [PATCH 5/7] chore(release): 2.0.1-alpha.0 --- CHANGELOG.md | 7 +++++++ src/dotnet-test-rerun.csproj | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ce6886..3b5cab1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [versionize](https://github.com/versionize/versionize) for commit guidelines. + +## [2.0.1-alpha.0](https://www.github.com/joaoopereira/dotnet-test-rerun/releases/tag/v2.0.1-alpha.0) (2024-07-07) + +### Features + +* refactor in logger ([9bf4b1c](https://www.github.com/joaoopereira/dotnet-test-rerun/commit/9bf4b1c95dbf5f2e13e0e5f0eb6fffa515174009)) + ## [2.0.0](https://www.github.com/joaoopereira/dotnet-test-rerun/releases/tag/v2.0.0) (2024-02-15) diff --git a/src/dotnet-test-rerun.csproj b/src/dotnet-test-rerun.csproj index 2abb4c9..3c29d91 100644 --- a/src/dotnet-test-rerun.csproj +++ b/src/dotnet-test-rerun.csproj @@ -14,7 +14,7 @@ README.md GPL-3.0-or-later True - 2.0.0-alpha.2 + 2.0.1-alpha.0 https://github.com/joaoopereira/dotnet-test-rerun wrapper of dotnet test command that automatic rerun failed tests https://github.com/joaoopereira/dotnet-test-rerun From 7184e0090b9b956c87a112228d5dcc2a194fc2f1 Mon Sep 17 00:00:00 2001 From: ricardofslp Date: Sun, 7 Jul 2024 12:25:28 +0100 Subject: [PATCH 6/7] fix: issue in logger --- src/Logging/Logger.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Logging/Logger.cs b/src/Logging/Logger.cs index a83676a..ebf6dfe 100644 --- a/src/Logging/Logger.cs +++ b/src/Logging/Logger.cs @@ -131,7 +131,7 @@ private void Write(string msg) /// /// message to be escaped /// escaped message - private string EscapeMarkup(string msg) => msg!.Replace("[", "[[").Replace("]", "]]"); + private string EscapeMarkup(string msg) => msg?.Replace("[", "[[").Replace("]", "]]"); /// /// LogLevel Parser From 02bcd713939540fcbba507df9733ebb81437cec5 Mon Sep 17 00:00:00 2001 From: ricardofslp Date: Sun, 7 Jul 2024 12:26:00 +0100 Subject: [PATCH 7/7] chore(release): 2.0.1-alpha.1 --- src/CHANGELOG.md | 7 +++++++ src/dotnet-test-rerun.csproj | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md index 01f8f55..ab97021 100644 --- a/src/CHANGELOG.md +++ b/src/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [versionize](https://github.com/versionize/versionize) for commit guidelines. + +## [2.0.1-alpha.1](https://www.github.com/joaoopereira/dotnet-test-rerun/releases/tag/v2.0.1-alpha.1) (2024-07-07) + +### Bug Fixes + +* issue in logger ([7184e00](https://www.github.com/joaoopereira/dotnet-test-rerun/commit/7184e0090b9b956c87a112228d5dcc2a194fc2f1)) + ## [2.0.0-alpha.2](https://www.github.com/joaoopereira/dotnet-test-rerun/releases/tag/v2.0.0-alpha.2) (2024-07-07) diff --git a/src/dotnet-test-rerun.csproj b/src/dotnet-test-rerun.csproj index 3c29d91..b795ef7 100644 --- a/src/dotnet-test-rerun.csproj +++ b/src/dotnet-test-rerun.csproj @@ -14,7 +14,7 @@ README.md GPL-3.0-or-later True - 2.0.1-alpha.0 + 2.0.1-alpha.1 https://github.com/joaoopereira/dotnet-test-rerun wrapper of dotnet test command that automatic rerun failed tests https://github.com/joaoopereira/dotnet-test-rerun