Skip to content

Conversation

@caxu-rh
Copy link
Contributor

@caxu-rh caxu-rh commented Nov 26, 2025

  • Add a struct to hold version information (similar to Preflight)
  • Set the Version field in rootCmd to point at this version struct (similar to Preflight)
  • Set appropriate variables at compile time (via Makefile) to ensure that version information is populated
  • Set the RELEASE_TAG when building container image to ensure that version information is passed to Makefile (and then to go build)

This PR addresses #87.

@openshift-ci openshift-ci bot requested review from bcrochet and komish November 26, 2025 19:06
Copy link
Contributor

@acornett21 acornett21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It probably makes sense to make /version its own package, and carry over the tests as well.

@acornett21 acornett21 merged commit 3aee80e into redhat-openshift-ecosystem:main Dec 4, 2025
2 checks passed
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.

2 participants