util: fix bug in tagbranch
After mulptiple edits of the script, there is a case when bash
variable is not properly quoted, let's fix it.
BRANCH=cr50
TEST=verified proper tag description set by git
@@ -67,7 +67,8 @@ TAG="v1.${TAG_BASE}.0"
BASE_SHA="$(git rev-list --ancestry-path "${BRANCH_POINT}".."${UPSTREAM}" |
tail -1)"
-if git tag -a -m 'firmware branch ${TAG}' "${TAG}" "${BASE_SHA}"; then
+echo "Will run git tag -a -m \"firmware branch ${TAG}\" ${TAG} ${BASE_SHA}"
+if git tag -a -m "firmware branch ${TAG}" "${TAG}" "${BASE_SHA}"; then
cat <<EOF
A new tag '$TAG' has been set. Use the following command
