This commit is contained in:
Earl Warren 2023-10-12 14:57:38 +02:00
parent 2de0a1208c
commit 731e463dfd
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
3 changed files with 8 additions and 0 deletions

4
cascading-pr.sh Normal file → Executable file
View file

@ -7,6 +7,7 @@ source $SELF_DIR/cascading-pr-lib.sh
function run() {
options[origin_host_port]=$(host_port ${options[origin_url]})
options[destination_host_port]=$(host_port ${options[destination_url]})
: ${options[prefix]:=${options[origin_repo]}}
# login destination
# open a PR on destination
@ -55,6 +56,9 @@ function main() {
shift
options[update]=$1
;;
--prefix)
shift
options[prefix]=$1
*)
"${1:-run}"
return 0