Skip to content

Commit

Permalink
Refactor (generate): Standardize order of available release notes var…
Browse files Browse the repository at this point in the history
…iants
  • Loading branch information
joeltimothyoh committed May 26, 2024
1 parent 6586e2a commit 2e37991
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@
"description": "RELEASE_NOTES_VARIANT?",
"type": "pickString",
"options": [
"Changes-HashSubjectAuthor-NoMerges-Categorized",
"Changes-HashSubject-Merges",
"Changes-HashSubject-NoMerges-Categorized",
"Changes-HashSubject-NoMerges",
"Changes-HashSubject",
"VersionDate-HashSubjectAuthor-NoMerges-Categorized",
"Changes-HashSubjectAuthor-NoMerges-Categorized",
"VersionDate-HashSubject-Merges",
"VersionDate-HashSubject-NoMerges-Categorized",
"VersionDate-HashSubject-NoMerges",
"VersionDate-HashSubject",
"VersionDate-SubjectAuthor-NoMerges-Categorized",
"VersionDate-HashSubjectAuthor-NoMerges-Categorized",
"VersionDate-Subject-Merges",
"VersionDate-Subject-NoMerges-Categorized",
"VersionDate-Subject-NoMerges",
"VersionDate-Subject",
"VersionDate-SubjectAuthor-NoMerges-Categorized",
],
"default": "VersionDate-HashSubjectAuthor-NoMerges-Categorized",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ function Generate-ReleaseNotes {
,
[Parameter(Mandatory=$true)]
[ValidateSet(
"Changes-HashSubjectAuthor-NoMerges-Categorized",
"Changes-HashSubject-Merges",
"Changes-HashSubject-NoMerges-Categorized",
"Changes-HashSubject-NoMerges",
"Changes-HashSubject",
"VersionDate-HashSubjectAuthor-NoMerges-Categorized",
"Changes-HashSubjectAuthor-NoMerges-Categorized",
"VersionDate-HashSubject-Merges",
"VersionDate-HashSubject-NoMerges-Categorized",
"VersionDate-HashSubject-NoMerges",
"VersionDate-HashSubject",
"VersionDate-SubjectAuthor-NoMerges-Categorized",
"VersionDate-HashSubjectAuthor-NoMerges-Categorized",
"VersionDate-Subject-Merges",
"VersionDate-Subject-NoMerges-Categorized",
"VersionDate-Subject-NoMerges",
"VersionDate-Subject"
"VersionDate-Subject",
"VersionDate-SubjectAuthor-NoMerges-Categorized"
)]
[string]$Variant
,
Expand Down

0 comments on commit 2e37991

Please sign in to comment.