Skip to content

Commit

Permalink
Add $specialSnowflakes parameter to auto-pr.ps1
Browse files Browse the repository at this point in the history
Comma separated list of apps which should be force updated
  • Loading branch information
r15ch13 committed Jun 10, 2017
1 parent 2d8e2a0 commit d575c0a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion bin/auto-pr.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ param(
[String]$dir,
[Switch]$push = $false,
[Switch]$request = $false,
[Switch]$help = $false
[Switch]$help = $false,
[string[]]$specialSnowflakes
)

if(!$dir) { $dir = "$psscriptroot\..\bucket" }
Expand Down Expand Up @@ -122,6 +123,11 @@ if($push -eq $true) {
}

. "$psscriptroot\checkver.ps1" * -update -dir $dir
if($specialSnowflakes) {
$specialSnowflakes | % {
. "$psscriptroot\checkver.ps1" $_ -update -forceUpdate -dir $dir
}
}

hub diff --name-only | % {
$manifest = $_
Expand Down

0 comments on commit d575c0a

Please sign in to comment.