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

Only match ldflag version if it matches the main module or targets main.version #3062

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

LaurentGoderre
Copy link
Contributor

This prevents matching a version that is targeting a different module the the main one.

…in.version

Signed-off-by: Laurent Goderre <laurent.goderre@docker.com>
@spiffcs spiffcs merged commit 4882d2e into anchore:main Jul 25, 2024
11 checks passed
@spiffcs spiffcs added the enhancement New feature or request label Jul 25, 2024
@LaurentGoderre LaurentGoderre deleted the explicit-ldflag-detection branch July 25, 2024 17:57
@kzantow kzantow added bug Something isn't working and removed enhancement New feature or request labels Jul 30, 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 this pull request may close these issues.

3 participants