Skip to content

Pass version tag to binary build for correct devkit --version - #49

Merged
5uck1ess merged 1 commit into
mainfrom
fix/binary-version-tag
Apr 10, 2026
Merged

Pass version tag to binary build for correct devkit --version#49
5uck1ess merged 1 commit into
mainfrom
fix/binary-version-tag

Conversation

@5uck1ess

Copy link
Copy Markdown
Owner

Summary

devkit --version shows 0dde3de (git SHA) instead of v2.0.37 because the binaries job does a shallow checkout with no tags. git describe --tags in the Makefile falls back to the short SHA.

Fix: pass VERSION=v${{ needs.version.outputs.version }} to make build-for, which overrides the Makefile's VERSION variable and embeds the correct release tag via LDFLAGS.

Test plan

  • Merge, wait for release
  • bash scripts/install-engine.sh --upgrade
  • devkit --version shows v2.0.38 (not a commit SHA)

The binaries job does a shallow checkout with no tags, so git describe
falls back to the commit SHA. Pass VERSION explicitly from the version
job output to embed the correct release tag (e.g. v2.0.37).
@5uck1ess
5uck1ess merged commit 8065a6d into main Apr 10, 2026
3 checks passed
@5uck1ess
5uck1ess deleted the fix/binary-version-tag branch April 10, 2026 00:50
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.

1 participant