From 20addb151aebe3d0744ad936c5d0a29a00df7ffe Mon Sep 17 00:00:00 2001 From: Joel Timothy Oh Date: Wed, 17 Jul 2024 10:16:48 +0000 Subject: [PATCH] Enhancement (variants): Standardize verbose output --- .../generate/variants/Changes-HashSubject-Merges.ps1 | 4 ---- .../variants/Changes-HashSubject-NoMerges-Categorized.ps1 | 4 ---- .../Changes-HashSubject-NoMerges-CategorizedSorted.ps1 | 4 ---- .../generate/variants/Changes-HashSubject-NoMerges.ps1 | 4 ---- .../generate/variants/Changes-HashSubject.ps1 | 4 ---- .../Changes-HashSubjectAuthor-NoMerges-Categorized.ps1 | 4 ---- .../Changes-HashSubjectAuthor-NoMerges-CategorizedSorted.ps1 | 4 ---- .../generate/variants/VersionDate-HashSubject-Merges.ps1 | 4 ---- .../variants/VersionDate-HashSubject-NoMerges-Categorized.ps1 | 4 ---- .../VersionDate-HashSubject-NoMerges-CategorizedSorted.ps1 | 4 ---- .../generate/variants/VersionDate-HashSubject-NoMerges.ps1 | 4 ---- .../generate/variants/VersionDate-HashSubject.ps1 | 4 ---- .../VersionDate-HashSubjectAuthor-NoMerges-Categorized.ps1 | 4 ---- ...rsionDate-HashSubjectAuthor-NoMerges-CategorizedSorted.ps1 | 4 ---- .../generate/variants/VersionDate-Subject-Merges.ps1 | 4 ---- .../variants/VersionDate-Subject-NoMerges-Categorized.ps1 | 4 ---- .../VersionDate-Subject-NoMerges-CategorizedSorted.ps1 | 4 ---- .../generate/variants/VersionDate-Subject-NoMerges.ps1 | 4 ---- .../generate/variants/VersionDate-Subject.ps1 | 4 ---- .../VersionDate-SubjectAuthor-NoMerges-Categorized.ps1 | 4 ---- .../VersionDate-SubjectAuthor-NoMerges-CategorizedSorted.ps1 | 4 ---- 21 files changed, 84 deletions(-) diff --git a/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubject-Merges.ps1 b/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubject-Merges.ps1 index 21a147f..a5f476f 100644 --- a/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubject-Merges.ps1 +++ b/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubject-Merges.ps1 @@ -14,10 +14,6 @@ function Changes-HashSubject-Merges { try { $previousRelease = Get-RepositoryReleasePrevious -Path $Path -Ref $TagName -ErrorAction SilentlyContinue - if ($previousRelease) { - "Previous release:" | Write-Verbose - $previousRelease | Write-Verbose - } $funcArgs = @{ Path = $Path FirstRef = $TagName diff --git a/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubject-NoMerges-Categorized.ps1 b/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubject-NoMerges-Categorized.ps1 index 9007d67..1da0523 100644 --- a/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubject-NoMerges-Categorized.ps1 +++ b/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubject-NoMerges-Categorized.ps1 @@ -14,10 +14,6 @@ function Changes-HashSubject-NoMerges-Categorized { try { $previousRelease = Get-RepositoryReleasePrevious -Path $Path -Ref $TagName -ErrorAction SilentlyContinue - if ($previousRelease) { - "Previous release:" | Write-Verbose - $previousRelease | Write-Verbose - } $funcArgs = @{ Path = $Path FirstRef = $TagName diff --git a/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubject-NoMerges-CategorizedSorted.ps1 b/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubject-NoMerges-CategorizedSorted.ps1 index df14100..78f9953 100644 --- a/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubject-NoMerges-CategorizedSorted.ps1 +++ b/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubject-NoMerges-CategorizedSorted.ps1 @@ -14,10 +14,6 @@ function Changes-HashSubject-NoMerges-CategorizedSorted { try { $previousRelease = Get-RepositoryReleasePrevious -Path $Path -Ref $TagName -ErrorAction SilentlyContinue - if ($previousRelease) { - "Previous release:" | Write-Verbose - $previousRelease | Write-Verbose - } $funcArgs = @{ Path = $Path FirstRef = $TagName diff --git a/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubject-NoMerges.ps1 b/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubject-NoMerges.ps1 index 7a969a9..1f5fa33 100644 --- a/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubject-NoMerges.ps1 +++ b/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubject-NoMerges.ps1 @@ -14,10 +14,6 @@ function Changes-HashSubject-NoMerges { try { $previousRelease = Get-RepositoryReleasePrevious -Path $Path -Ref $TagName -ErrorAction SilentlyContinue - if ($previousRelease) { - "Previous release:" | Write-Verbose - $previousRelease | Write-Verbose - } $funcArgs = @{ Path = $Path FirstRef = $TagName diff --git a/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubject.ps1 b/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubject.ps1 index bbce676..a4a9f2a 100644 --- a/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubject.ps1 +++ b/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubject.ps1 @@ -14,10 +14,6 @@ function Changes-HashSubject { try { $previousRelease = Get-RepositoryReleasePrevious -Path $Path -Ref $TagName -ErrorAction SilentlyContinue - if ($previousRelease) { - "Previous release:" | Write-Verbose - $previousRelease | Write-Verbose - } $funcArgs = @{ Path = $Path FirstRef = $TagName diff --git a/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubjectAuthor-NoMerges-Categorized.ps1 b/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubjectAuthor-NoMerges-Categorized.ps1 index 74bafaf..75575f1 100644 --- a/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubjectAuthor-NoMerges-Categorized.ps1 +++ b/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubjectAuthor-NoMerges-Categorized.ps1 @@ -14,10 +14,6 @@ function Changes-HashSubjectAuthor-NoMerges-Categorized { try { $previousRelease = Get-RepositoryReleasePrevious -Path $Path -Ref $TagName -ErrorAction SilentlyContinue - if ($previousRelease) { - "Previous release:" | Write-Verbose - $previousRelease | Write-Verbose - } $funcArgs = @{ Path = $Path FirstRef = $TagName diff --git a/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubjectAuthor-NoMerges-CategorizedSorted.ps1 b/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubjectAuthor-NoMerges-CategorizedSorted.ps1 index 7137207..c982cfa 100644 --- a/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubjectAuthor-NoMerges-CategorizedSorted.ps1 +++ b/src/PSRepositoryReleaseManager/generate/variants/Changes-HashSubjectAuthor-NoMerges-CategorizedSorted.ps1 @@ -14,10 +14,6 @@ function Changes-HashSubjectAuthor-NoMerges-CategorizedSorted { try { $previousRelease = Get-RepositoryReleasePrevious -Path $Path -Ref $TagName -ErrorAction SilentlyContinue - if ($previousRelease) { - "Previous release:" | Write-Verbose - $previousRelease | Write-Verbose - } $funcArgs = @{ Path = $Path FirstRef = $TagName diff --git a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubject-Merges.ps1 b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubject-Merges.ps1 index 885802e..80a24d2 100644 --- a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubject-Merges.ps1 +++ b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubject-Merges.ps1 @@ -14,10 +14,6 @@ function VersionDate-HashSubject-Merges { try { $previousRelease = Get-RepositoryReleasePrevious -Path $Path -Ref $TagName -ErrorAction SilentlyContinue - if ($previousRelease) { - "Previous release:" | Write-Verbose - $previousRelease | Write-Verbose - } $funcArgs = @{ Path = $Path FirstRef = $TagName diff --git a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubject-NoMerges-Categorized.ps1 b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubject-NoMerges-Categorized.ps1 index 1cad66e..0c6b006 100644 --- a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubject-NoMerges-Categorized.ps1 +++ b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubject-NoMerges-Categorized.ps1 @@ -14,10 +14,6 @@ function VersionDate-HashSubject-NoMerges-Categorized { try { $previousRelease = Get-RepositoryReleasePrevious -Path $Path -Ref $TagName -ErrorAction SilentlyContinue - if ($previousRelease) { - "Previous release:" | Write-Verbose - $previousRelease | Write-Verbose - } $funcArgs = @{ Path = $Path FirstRef = $TagName diff --git a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubject-NoMerges-CategorizedSorted.ps1 b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubject-NoMerges-CategorizedSorted.ps1 index 792e7b7..269196b 100644 --- a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubject-NoMerges-CategorizedSorted.ps1 +++ b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubject-NoMerges-CategorizedSorted.ps1 @@ -14,10 +14,6 @@ function VersionDate-HashSubject-NoMerges-CategorizedSorted { try { $previousRelease = Get-RepositoryReleasePrevious -Path $Path -Ref $TagName -ErrorAction SilentlyContinue - if ($previousRelease) { - "Previous release:" | Write-Verbose - $previousRelease | Write-Verbose - } $funcArgs = @{ Path = $Path FirstRef = $TagName diff --git a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubject-NoMerges.ps1 b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubject-NoMerges.ps1 index a2cf090..62cfd35 100644 --- a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubject-NoMerges.ps1 +++ b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubject-NoMerges.ps1 @@ -14,10 +14,6 @@ function VersionDate-HashSubject-NoMerges { try { $previousRelease = Get-RepositoryReleasePrevious -Path $Path -Ref $TagName -ErrorAction SilentlyContinue - if ($previousRelease) { - "Previous release:" | Write-Verbose - $previousRelease | Write-Verbose - } $funcArgs = @{ Path = $Path FirstRef = $TagName diff --git a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubject.ps1 b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubject.ps1 index 5fe0626..8269257 100644 --- a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubject.ps1 +++ b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubject.ps1 @@ -14,10 +14,6 @@ function VersionDate-HashSubject { try { $previousRelease = Get-RepositoryReleasePrevious -Path $Path -Ref $TagName -ErrorAction SilentlyContinue - if ($previousRelease) { - "Previous release:" | Write-Verbose - $previousRelease | Write-Verbose - } $funcArgs = @{ Path = $Path FirstRef = $TagName diff --git a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubjectAuthor-NoMerges-Categorized.ps1 b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubjectAuthor-NoMerges-Categorized.ps1 index 67ac91d..87e6f04 100644 --- a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubjectAuthor-NoMerges-Categorized.ps1 +++ b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubjectAuthor-NoMerges-Categorized.ps1 @@ -14,10 +14,6 @@ function VersionDate-HashSubjectAuthor-NoMerges-Categorized { try { $previousRelease = Get-RepositoryReleasePrevious -Path $Path -Ref $TagName -ErrorAction SilentlyContinue - if ($previousRelease) { - "Previous release:" | Write-Verbose - $previousRelease | Write-Verbose - } $funcArgs = @{ Path = $Path FirstRef = $TagName diff --git a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubjectAuthor-NoMerges-CategorizedSorted.ps1 b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubjectAuthor-NoMerges-CategorizedSorted.ps1 index 8033062..897da9c 100644 --- a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubjectAuthor-NoMerges-CategorizedSorted.ps1 +++ b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-HashSubjectAuthor-NoMerges-CategorizedSorted.ps1 @@ -14,10 +14,6 @@ function VersionDate-HashSubjectAuthor-NoMerges-CategorizedSorted { try { $previousRelease = Get-RepositoryReleasePrevious -Path $Path -Ref $TagName -ErrorAction SilentlyContinue - if ($previousRelease) { - "Previous release:" | Write-Verbose - $previousRelease | Write-Verbose - } $funcArgs = @{ Path = $Path FirstRef = $TagName diff --git a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-Subject-Merges.ps1 b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-Subject-Merges.ps1 index 121aa2b..3ba2d04 100644 --- a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-Subject-Merges.ps1 +++ b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-Subject-Merges.ps1 @@ -14,10 +14,6 @@ function VersionDate-Subject-Merges { try { $previousRelease = Get-RepositoryReleasePrevious -Path $Path -Ref $TagName -ErrorAction SilentlyContinue - if ($previousRelease) { - "Previous release:" | Write-Verbose - $previousRelease | Write-Verbose - } $funcArgs = @{ Path = $Path FirstRef = $TagName diff --git a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-Subject-NoMerges-Categorized.ps1 b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-Subject-NoMerges-Categorized.ps1 index e82eea5..563d6ef 100644 --- a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-Subject-NoMerges-Categorized.ps1 +++ b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-Subject-NoMerges-Categorized.ps1 @@ -14,10 +14,6 @@ function VersionDate-Subject-NoMerges-Categorized { try { $previousRelease = Get-RepositoryReleasePrevious -Path $Path -Ref $TagName -ErrorAction SilentlyContinue - if ($previousRelease) { - "Previous release:" | Write-Verbose - $previousRelease | Write-Verbose - } $funcArgs = @{ Path = $Path FirstRef = $TagName diff --git a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-Subject-NoMerges-CategorizedSorted.ps1 b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-Subject-NoMerges-CategorizedSorted.ps1 index 3eb35cf..4e26ea1 100644 --- a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-Subject-NoMerges-CategorizedSorted.ps1 +++ b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-Subject-NoMerges-CategorizedSorted.ps1 @@ -14,10 +14,6 @@ function VersionDate-Subject-NoMerges-CategorizedSorted { try { $previousRelease = Get-RepositoryReleasePrevious -Path $Path -Ref $TagName -ErrorAction SilentlyContinue - if ($previousRelease) { - "Previous release:" | Write-Verbose - $previousRelease | Write-Verbose - } $funcArgs = @{ Path = $Path FirstRef = $TagName diff --git a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-Subject-NoMerges.ps1 b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-Subject-NoMerges.ps1 index 7187ddc..dfe0797 100644 --- a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-Subject-NoMerges.ps1 +++ b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-Subject-NoMerges.ps1 @@ -14,10 +14,6 @@ function VersionDate-Subject-NoMerges { try { $previousRelease = Get-RepositoryReleasePrevious -Path $Path -Ref $TagName -ErrorAction SilentlyContinue - if ($previousRelease) { - "Previous release:" | Write-Verbose - $previousRelease | Write-Verbose - } $funcArgs = @{ Path = $Path FirstRef = $TagName diff --git a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-Subject.ps1 b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-Subject.ps1 index d1e7629..2f3cafe 100644 --- a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-Subject.ps1 +++ b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-Subject.ps1 @@ -14,10 +14,6 @@ function VersionDate-Subject { try { $previousRelease = Get-RepositoryReleasePrevious -Path $Path -Ref $TagName -ErrorAction SilentlyContinue - if ($previousRelease) { - "Previous release:" | Write-Verbose - $previousRelease | Write-Verbose - } $funcArgs = @{ Path = $Path FirstRef = $TagName diff --git a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-SubjectAuthor-NoMerges-Categorized.ps1 b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-SubjectAuthor-NoMerges-Categorized.ps1 index d581b3a..2ce09ad 100644 --- a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-SubjectAuthor-NoMerges-Categorized.ps1 +++ b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-SubjectAuthor-NoMerges-Categorized.ps1 @@ -14,10 +14,6 @@ function VersionDate-SubjectAuthor-NoMerges-Categorized { try { $previousRelease = Get-RepositoryReleasePrevious -Path $Path -Ref $TagName -ErrorAction SilentlyContinue - if ($previousRelease) { - "Previous release:" | Write-Verbose - $previousRelease | Write-Verbose - } $funcArgs = @{ Path = $Path FirstRef = $TagName diff --git a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-SubjectAuthor-NoMerges-CategorizedSorted.ps1 b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-SubjectAuthor-NoMerges-CategorizedSorted.ps1 index 4bb76e8..241ebf0 100644 --- a/src/PSRepositoryReleaseManager/generate/variants/VersionDate-SubjectAuthor-NoMerges-CategorizedSorted.ps1 +++ b/src/PSRepositoryReleaseManager/generate/variants/VersionDate-SubjectAuthor-NoMerges-CategorizedSorted.ps1 @@ -14,10 +14,6 @@ function VersionDate-SubjectAuthor-NoMerges-CategorizedSorted { try { $previousRelease = Get-RepositoryReleasePrevious -Path $Path -Ref $TagName -ErrorAction SilentlyContinue - if ($previousRelease) { - "Previous release:" | Write-Verbose - $previousRelease | Write-Verbose - } $funcArgs = @{ Path = $Path FirstRef = $TagName