scoop/bin/auto-pr.ps1
2023-03-07 17:36:44 +00:00

9 lines
316 B
PowerShell

param(
# overwrite upstream param
[String]$upstream = "SamTherapy/scoop:master"
)
if (!$env:SCOOP_HOME) { $env:SCOOP_HOME = Convert-Path (scoop prefix scoop) }
$autopr = "$env:SCOOP_HOME/bin/auto-pr.ps1"
$dir = "$PSScriptRoot/../bucket" # checks the parent dir
& $autopr -Dir $dir -Upstream $Upstream @Args