Commit ca13b76
cilium-cli: Specify TARGET for building release binaries
Some downstream projects [^1] override TARGET, expecting the output file
to go to the location specified by it. Although TARGET is marked phony,
I think it's best to keep the previous behavior of using TARGET as the
output file location to avoid impacting downstream projects.
This commit changes the local-release target to specify TARGET instead
of introducing BUILDDIR and EXT that modify the location of the output
file of TARGET.
[^1]: https://github.com/cilium/cilium-cli/blob/649a1df5bcfcc6c87bc30e1fe70610a7806d04a7/action.yaml#L85
Fixes: 0532a11 ("cilium-cli: Use the default Make target to build release binaries")
Reported-by: Viktor Kurchenko <viktor.kurchenko@isovalent.com>
Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>1 parent f5946af commit ca13b76
1 file changed
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 23 | | |
27 | 24 | | |
28 | | - | |
| 25 | + | |
29 | 26 | | |
30 | 27 | | |
31 | 28 | | |
| |||
48 | 45 | | |
49 | 46 | | |
50 | 47 | | |
51 | | - | |
| 48 | + | |
52 | 49 | | |
53 | 50 | | |
54 | 51 | | |
| |||
63 | 60 | | |
64 | 61 | | |
65 | 62 | | |
66 | | - | |
| 63 | + | |
67 | 64 | | |
68 | 65 | | |
69 | 66 | | |
| |||
0 commit comments