Skip to content

Commit 8650dd4

Browse files
Ash258r15ch13
authored andcommitted
[auto-pr] Add -SkipUpdated parameter (#3168)
1 parent 7bedd44 commit 8650dd4

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

bin/auto-pr.ps1

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
Print help to console.
2020
.PARAMETER SpecialSnowflakes
2121
An array of manifests, which should be updated all the time. (-ForceUpdate parameter to checkver)
22+
.PARAMETER SkipUpdated
23+
Updated manifests will not be shown.
2224
.EXAMPLE
2325
PS REPODIR > .\bin\auto-pr.ps1 'someUsername/repository:branch' -Request
2426
.EXAMPLE
@@ -44,7 +46,8 @@ param(
4446
[Switch] $Push,
4547
[Switch] $Request,
4648
[Switch] $Help,
47-
[string[]] $SpecialSnowflakes
49+
[string[]] $SpecialSnowflakes,
50+
[Switch] $SkipUpdated
4851
)
4952

5053
. "$PSScriptRoot\..\lib\manifest.ps1"
@@ -150,7 +153,7 @@ if ($Push) {
150153
execute 'hub push origin master'
151154
}
152155

153-
. "$PSScriptRoot\checkver.ps1" -App $App -Dir $Dir -Update
156+
. "$PSScriptRoot\checkver.ps1" -App $App -Dir $Dir -Update -SkipUpdated:$SkipUpdated
154157
if ($SpecialSnowflakes) {
155158
Write-Host "Forcing update on our special snowflakes: $($SpecialSnowflakes -join ',')" -ForegroundColor DarkCyan
156159
$SpecialSnowflakes -split ',' | ForEach-Object {

0 commit comments

Comments
 (0)