Skip to content

Commit bb6eff4

Browse files
fix(ci): restore go mod tidy in otel-update.sh script (#8326)
Without it, `mage notice` fails, because `mage tidy` fails, because magefile cannot be compiled, because the root `go.mod` file that Mage depends on is out of date.
1 parent f08681f commit bb6eff4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.ci/scripts/otel-update.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ sed -i.bak "s/\(go\.opentelemetry\.io\/collector.*\) $current_stable_core/\1 $ne
3535
sed -i.bak "s/\(github\.com\/open-telemetry\/opentelemetry\-collector\-contrib\/.*\) $current_contrib/\1 $next_contrib/" go.mod
3636
rm go.mod.bak
3737

38+
echo "=> Running go mod tidy"
39+
go mod tidy
3840
echo "=> Running mage notice"
3941
mage notice
4042
echo "=> Running mage otel:readme"

0 commit comments

Comments
 (0)