diff --git a/.github/workflows/scripts/update-registry-versions.sh b/.github/workflows/scripts/update-registry-versions.sh index 72e7deca8591..b07947730b13 100755 --- a/.github/workflows/scripts/update-registry-versions.sh +++ b/.github/workflows/scripts/update-registry-versions.sh @@ -97,7 +97,7 @@ for yaml_file in ${FILES}; do done; # We use the sha1 over all version updates to uniquely identify the PR. -tag=$(echo body | sha1sum | awk '{print $1;}') +tag=$(echo "${body}" | sha1sum | awk '{print $1;}') message="Auto-update registry versions (${tag})" branch="opentelemetrybot/auto-update-registry-${tag}"