Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCB v0.107.0 and onward no longer report version on command line #11220

Open
jackgopack4 opened this issue Sep 19, 2024 · 0 comments · May be fixed by #11208
Open

OCB v0.107.0 and onward no longer report version on command line #11220

jackgopack4 opened this issue Sep 19, 2024 · 0 comments · May be fixed by #11208
Labels
bug Something isn't working

Comments

@jackgopack4
Copy link
Contributor

Describe the bug

ocb from v0.107.0 onward reports "devel" as version when running on CLI instead of version number. Confirmed to work in v106.1 and earlier

Steps to reproduce
Download any ocb binary v0.107.0 or later and run ocb version

What did you expect to see?
expect to see ocb version vX.XXX.X

What did you see instead?
instead see `ocb version (devel)

What version did you use?
v0.107.0, v0.108.0, v0.109.0

What config did you use?
n/a

Environment
darwin/arm64, downloaded ocb binary

Additional context
reported in releases repo open-telemetry/opentelemetry-collector-releases#664
PR to re-add code and add unit tests that was removed and causes cli to not report proper build version.
Also requires adding flag in build process, PR open in releases: open-telemetry/opentelemetry-collector-releases#665

@jackgopack4 jackgopack4 added the bug Something isn't working label Sep 19, 2024
@jackgopack4 jackgopack4 linked a pull request Sep 19, 2024 that will close this issue
@jackgopack4 jackgopack4 changed the title OCB no longer reports version on command line OCB v0.107.0 and onward no longer report version on command line Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant