Skip to content

Commit

Permalink
[chore][update-otel] Tidy after generating the code (open-telemetry#3…
Browse files Browse the repository at this point in the history
…7440)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Adds an extra `make gotidy` after `make generate` and `make crosslink`

<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->

See open-telemetry#37437 for example where it failed because of this.
  • Loading branch information
mx-psi authored and chengchuanpeng committed Jan 26, 2025
1 parent a159c57 commit 4e772d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,8 @@ update-otel:$(MULTIMOD)
$(MAKE) genoteltestbedcol
$(MAKE) generate
$(MAKE) crosslink
# Tidy again after generating code
$(MAKE) gotidy
$(MAKE) remove-toolchain
git add . && git commit -s -m "[chore] mod and toolchain tidy" ; \

Expand Down

0 comments on commit 4e772d1

Please sign in to comment.