protetc each word in git mv ..

This commit is contained in:
Krishna Vedala 2020-05-29 19:04:14 -04:00
parent 65dbaf7c69
commit 9643f75e0f

View File

@ -32,10 +32,12 @@ jobs:
echo " ${new_fname}"
new_fname=`echo ${new_fname} | tr 'A-Z' 'a-z'`
echo " ${new_fname}"
new_fname=`echo ${new_fname} | tr '-' '_'`
echo " ${new_fname}"
if [ ${fname} != ${new_fname} ]
then
echo " ${fname} --> ${new_fname}"
git mv \"${fname}\" ${new_fname}
git "mv" "${fname}" ${new_fname}
fi
done
git commit -am "formatting filenames $GITHUB_SHA" || true