Commit 6d0c6bb7 by Han Su Kim

Merge pull request #1575 from edx/han/get-rc-branches

Change to grep -F for get-rc-branches script
parents 8454a900 f7514109
......@@ -7,7 +7,7 @@ usage() {
This will clone a repo and look for release
candidate branches that will be returned as
a sorted list in json to be
a sorted list in json to be
parsed by the dynamic choice jenkins plugin
Usage: $prog
......@@ -62,7 +62,7 @@ fi
$noop cd "/var/tmp/$repo_basename"
if [[ -z $noop ]]; then
for branch in $(git branch -a | sort -r | tr -d ' ' | grep -P "$filter" ); do
for branch in $(git branch -a | sort -r | tr -d ' ' | grep -E "$filter" ); do
echo "origin/${branch}"
done
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment