diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 85d38e4..71f2687 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -36,7 +36,7 @@ "VersionDate-Subject-NoMerges", "VersionDate-Subject", ], - "default": "VersionDate-HashSubject-NoMerges", + "default": "VersionDate-HashSubjectAuthor-NoMerges-Categorized", }, { "id": "RELEASE_NOTES_PATH", diff --git a/README.md b/README.md index b5f8bb6..e6d10ea 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ Releases supports all tag refs. Tags *need not* follow [Semantic Versioning](htt | Name | Example value | Mandatory | Type | |:-:|:-:|:-:|:-:| -| `RELEASE_NOTES_VARIANT` | `VersionDate-HashSubject-NoMerges` ([List of available variants](src/PSRepositoryReleaseManager/generate/variants)) | false | string | +| `RELEASE_NOTES_VARIANT` | `VersionDate-HashSubjectAuthor-NoMerges-Categorized` ([List of available variants](src/PSRepositoryReleaseManager/generate/variants)) | false | string | | `RELEASE_NOTES_PATH` | `/path/to/.release-notes.md` (full) /
`.release-notes.md` (relative) | false | string | ###### Release diff --git a/docs/samples/ci/azure-pipelines/custom/azure-pipelines.generate.yml b/docs/samples/ci/azure-pipelines/custom/azure-pipelines.generate.yml index 2fe3829..202e013 100644 --- a/docs/samples/ci/azure-pipelines/custom/azure-pipelines.generate.yml +++ b/docs/samples/ci/azure-pipelines/custom/azure-pipelines.generate.yml @@ -3,5 +3,5 @@ steps: submodules: recursive - template: templates/azure-pipelines/entrypoint/generate.yml@PSRepositoryReleaseManager # parameters: - # RELEASE_NOTES_VARIANT: VersionDate-HashSubject-NoMerges + # RELEASE_NOTES_VARIANT: VersionDate-HashSubjectAuthor-NoMerges-Categorized # RELEASE_NOTES_PATH: .release-notes.md diff --git a/src/scripts/ci/Invoke-Generate.ps1 b/src/scripts/ci/Invoke-Generate.ps1 index 7fa23ea..69615d4 100644 --- a/src/scripts/ci/Invoke-Generate.ps1 +++ b/src/scripts/ci/Invoke-Generate.ps1 @@ -66,7 +66,7 @@ try { "`$env:RELEASE_TAG_REF is null or undefined. Using the default ref 'HEAD'" | Write-Verbose 'HEAD' } - Variant = if ($env:RELEASE_NOTES_VARIANT) { $env:RELEASE_NOTES_VARIANT } else { 'VersionDate-HashSubject-NoMerges' } + Variant = if ($env:RELEASE_NOTES_VARIANT) { $env:RELEASE_NOTES_VARIANT } else { 'VersionDate-HashSubjectAuthor-NoMerges-Categorized' } ReleaseNotesPath = if ($env:RELEASE_NOTES_PATH) { "Using specified release notes path '$env:RELEASE_NOTES_PATH'" | Write-Verbose if ([System.IO.Path]::IsPathRooted($env:RELEASE_NOTES_PATH)) { $env:RELEASE_NOTES_PATH }