Skip to content

Commit f0dffd8

Browse files
committed
Use repo parameter to find path to changelog
1 parent 9684ad1 commit f0dffd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/postReleaseScripts/publishGHRelease.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ param(
1313
$GitHubToken,
1414

1515
[Parameter(Mandatory)]
16-
[string]
16+
[ValidateSet("vscode-powershell", "PowerShellEditorServices")]
1717
$Repository,
1818

1919
[Parameter()]
@@ -22,7 +22,7 @@ param(
2222

2323
[Parameter()]
2424
[string]
25-
$ChangelogPath = "$PSScriptRoot/../../CHANGELOG.md",
25+
$ChangelogPath = "$PSScriptRoot/../../../$Repository/CHANGELOG.md",
2626

2727
[Parameter()]
2828
[string[]]

0 commit comments

Comments
 (0)