1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2026-06-03 18:35:08 +02:00

Fix dependabot-pr.sh (#5025)

The PR title format has changed. Update script accordingly.
This commit is contained in:
Tyler Yahn
2024-03-03 10:34:43 -08:00
committed by GitHub
parent a7034da631
commit fbf26d26d1
+4 -5
View File
@@ -18,15 +18,15 @@ declare -A mods
for line in $requests; do
echo $line
if [[ $line != Bump* ]]; then
if [[ $line != build* ]]; then
continue
fi
module=$(echo $line | cut -f 2 -d " ")
module=$(echo $line | cut -f 3 -d " ")
if [[ $module == go.opentelemetry.io/otel* ]]; then
continue
fi
version=$(echo $line | cut -f 6 -d " ")
version=$(echo $line | cut -f 7 -d " ")
mods[$module]=$version
message+=$line
@@ -42,8 +42,7 @@ for module version in ${(kv)mods}; do
done
done
make go-mod-tidy
make build
make go-mod-tidy golangci-lint-fix build
git add go.sum go.mod
git add "**/go.sum" "**/go.mod"