File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ param(
10
10
[string ]
11
11
$GitHubToken ,
12
12
13
+ [Parameter (Mandatory )]
14
+ [string ]
15
+ $Repository ,
16
+
13
17
[Parameter ()]
14
18
[string ]
15
19
$TargetFork = ' PowerShell' ,
23
27
$AssetPath
24
28
)
25
29
26
- Import-Module " $PSScriptRoot /../GitHubTools.psm1"
30
+ Import-Module " $PSScriptRoot /../GitHubTools.psm1" - Force
27
31
28
32
function GetDescriptionFromChangelog
29
33
{
@@ -45,17 +49,9 @@ function GetDescriptionFromChangelog
45
49
46
50
$tag = " v$Version "
47
51
48
- if (-not $PSBoundParameters.ContainsKey (' AssetPath' ))
49
- {
50
- $AssetPath = @ (
51
- " $PSScriptRoot /../../PowerShell-$Version .vsix"
52
- " $PSScriptRoot /../../scripts/Install-VSCode.ps1"
53
- )
54
- }
55
-
56
52
$releaseParams = @ {
57
53
Organization = $TargetFork
58
- Repository = ' vscode-PowerShell '
54
+ Repository = $Repository
59
55
Tag = $tag
60
56
ReleaseName = $tag
61
57
Branch = " release/$Version "
You can’t perform that action at this time.
0 commit comments