Commit ae8709f
fix: use $(SUFFIX) in version-check binary path for debug builds (#8148)
The version-check step in `build-jaeger` hardcoded the binary name
without `$(SUFFIX)`, so when invoked via
`_build-platform-binaries-debug` (which sets `DEBUG_BINARY=1` →
`SUFFIX=-debug`), the check either failed with "binary not found" or
silently validated the release binary instead of the debug one.
- **`scripts/makefiles/BuildBinaries.mk`**: Replace
`./cmd/jaeger/jaeger-$(GOOS)-$(GOARCH)` with
`./cmd/jaeger/jaeger$(SUFFIX)-$(GOOS)-$(GOARCH)` in both version-check
invocations — no-op for release builds (`SUFFIX` is empty), correct for
debug builds (`SUFFIX=-debug`).
<!-- START COPILOT CODING AGENT TIPS -->
---
✨ Let Copilot coding agent [set things up for
you](https://github.com/jaegertracing/jaeger/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot)
— coding agent works faster and does higher quality work when set up for
your repo.
---------
Signed-off-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: yurishkuro <3523016+yurishkuro@users.noreply.github.com>
Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 24b2464 commit ae8709f
File tree
2 files changed
+7
-7
lines changed- scripts
- build
- makefiles
2 files changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
160 | 162 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
| 163 | + | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| |||
0 commit comments