We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f80ca71 + 4cd291e commit bbdcd74Copy full SHA for bbdcd74
1 file changed
switch_prow_jobs_fr_branch.sh
@@ -12,7 +12,7 @@ set -ex
12
CURRENT=$1
13
NEXT=$2
14
15
-for X in $(find . | grep 18.0-fr); do
+for X in $(find . -name .git -prune -o -type f -print | grep 18.0-fr); do
16
#rename the file (NOTE: prow jobs require frX in the name)
17
NEW_FILE=$(echo $X | sed -e "s|$CURRENT|$NEXT|")
18
git mv $X $NEW_FILE
0 commit comments