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

cli: Export Version var to be set externally #1646

Merged
merged 1 commit into from
May 24, 2023

Conversation

pippolo84
Copy link
Member

When building an extended version of cilium-cli with hooks, it is not possible to set Version var with -ldflags because it is located in an internal package.

This commit exports the Version var in the cli package to allow setting it both here and in the extended cilium-cli binaries.

When building an extended version of cilium-cli with hooks, it is not
possible to set Version var with -ldflags because it is located in an
internal package.

This commit exports the Version var in the cli package to allow setting
it both here and in the extended cilium-cli binaries.

Signed-off-by: Fabio Falzoi <fabio.falzoi@isovalent.com>
@pippolo84 pippolo84 requested a review from a team as a code owner May 19, 2023 13:38
@pippolo84 pippolo84 temporarily deployed to ci May 19, 2023 13:38 — with GitHub Actions Inactive
@tklauser tklauser merged commit 0cf8153 into cilium:main May 24, 2023
16 of 18 checks passed
@tklauser tklauser removed the request for review from nathanjsweet May 24, 2023 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants