This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Function that will be called for each repo. Script exectuion begins below. | |
handle_repo () { | |
#1. Set up variables. | |
local REPO=$1 # first function argument | |
local PROJECT_ID=$2 # second function argument | |
local SOURCE_BRANCH_DISPLAY=${3:-"QA"} # default value | |
local TARGET_BRANCH_DISPLAY=${4:-"Dev"} # default value |