Skip to content

updated the -version flag metadata by updating build command #1344

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

Merged
merged 1 commit into from
May 8, 2025

Conversation

codeshaine
Copy link
Contributor

@codeshaine codeshaine commented May 8, 2025

fixes #1343
The version flag command didn't showed proper version or gittag when checked, this PR address that issue by including the data during compile time by passing the LD flags
Result:
image

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.15%. Comparing base (1216c9b) to head (7c75a36).
Report is 68 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1344      +/-   ##
==========================================
- Coverage   68.49%   63.15%   -5.35%     
==========================================
  Files          75       74       -1     
  Lines        4384     5179     +795     
==========================================
+ Hits         3003     3271     +268     
- Misses       1233     1780     +547     
+ Partials      148      128      -20     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ccojocar ccojocar merged commit d522338 into securego:master May 8, 2025
6 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.

current gosec -version command seems incomplete and not producing correct result.
3 participants