Skip to content

Conversation

@obnoxxx
Copy link
Collaborator

@obnoxxx obnoxxx commented Jan 10, 2026

Builds from outside a git directory do not show a version for checkmake --version.

With this change, the auto-detected version can be overridden at build time with
make VERSION=version binaries

Fixes: #233

Checklist

Not all of these might apply to your change but the more you are able to check
the easier it will be to get your contribution merged.

  • CI passes
  • Description of proposed change
  • Documentation (README, docs/, man pages) is updated
  • Existing issue is referenced if there is one
  • Unit tests for the proposed change

Builds from outside a git directory do not show a version for
checkmake --version.

With this change, the auto-detected version can be overridden at build
time with
make VERSION=version binaries

Signed-off-by: Michael Adam <obnox@samba.org>
@obnoxxx obnoxxx force-pushed the build-allow-overriding-build-version branch from c00a131 to 7ec7e55 Compare January 10, 2026 14:53
@obnoxxx obnoxxx merged commit d1122aa into checkmake:main Jan 10, 2026
7 checks passed
@obnoxxx obnoxxx deleted the build-allow-overriding-build-version branch January 10, 2026 15:21
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.

[BUG] version not shown for build not from git checkout

1 participant