You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSReviewUnusedParameter","", Justification="One or more parameters (like NoStatus) are only referenced by helper methods which get access to it from the stack via Get-Variable -Scope 1.")]
531
561
[Alias('Delete-GitHubRelease')]
532
562
param(
@@ -538,10 +568,15 @@ function Remove-GitHubRelease
538
568
539
569
[Parameter(
540
570
Mandatory,
571
+
ValueFromPipelineByPropertyName,
541
572
ParameterSetName='Uri')]
573
+
[Alias('html_url')]
542
574
[string] $Uri,
543
575
544
-
[Parameter(Mandatory)]
576
+
[Parameter(
577
+
Mandatory,
578
+
ValueFromPipelineByPropertyName)]
579
+
[Alias('ReleaseId')]
545
580
[int64] $Release,
546
581
547
582
[string] $AccessToken,
@@ -785,7 +820,7 @@ function New-GitHubReleaseAsset
785
820
The path to the file to upload as a new asset.
786
821
787
822
.PARAMETERLabel
788
-
An alternate short description o fthe asset. Used in place of the filename.
823
+
An alternate short description of the asset. Used in place of the filename.
789
824
790
825
.PARAMETERContentType
791
826
The MIME Media Type for the file being uploaded. By default, this will be inferred based
@@ -1064,7 +1099,7 @@ function Remove-GitHubReleaseAsset
1064
1099
[CmdletBinding(
1065
1100
SupportsShouldProcess,
1066
1101
DefaultParameterSetName='Elements',
1067
-
ConfirmImpact="High")]
1102
+
ConfirmImpact='High')]
1068
1103
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSReviewUnusedParameter","", Justification="One or more parameters (like NoStatus) are only referenced by helper methods which get access to it from the stack via Get-Variable -Scope 1.")]
0 commit comments