Skip to content

Conversation

@raharper
Copy link
Contributor

@raharper raharper commented Aug 11, 2025

The atomfs --version output should match the build version; currently it either shows just the git hash, or an incorrect older tag plus hash. For example v1.2.0 was tagged back in early 2025, but if you build tip of the tree, the --version shows 1.1.2-XXXX

$ ./bin/atomfs --version
v1.1.2-9-gb584303

Add --tags to the git-describe output to match tags as well.

Fixes: #45

@codecov
Copy link

codecov bot commented Aug 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 38.50%. Comparing base (f4390cd) to head (324014f).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #46   +/-   ##
=======================================
  Coverage   38.50%   38.50%           
=======================================
  Files          24       24           
  Lines        2254     2254           
=======================================
  Hits          868      868           
  Misses       1208     1208           
  Partials      178      178           

☔ 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.

@raharper raharper force-pushed the fix/atomfs-version-from-tag branch from d230a39 to 464c674 Compare August 11, 2025 20:23
@raharper raharper changed the title Include tag matching for MAIN_VERSION used in --version output fix: Include tag matching for MAIN_VERSION used in --version output Aug 11, 2025
The atomfs --version output should match the build version; currently
it either shows just the git hash, or an incorrect older tag plus
hash.  For example v1.2.0 was tagged back in early 2025, but if you
build tip of the tree, the --version shows 1.1.2-XXXX

$ ./bin/atomfs --version
v1.1.2-9-gb584303

Add --tags to the git-describe output to match tags as well.

Fixes: project-machine#45

Signed-off-by: Ryan Harper <rharper@woxford.com>
@raharper raharper force-pushed the fix/atomfs-version-from-tag branch from 464c674 to 324014f Compare August 12, 2025 18:38
@mikemccracken mikemccracken merged commit 8cde73f into project-machine:main Aug 12, 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.

tagged binaries should have the tag in the --version output

2 participants