Skip to content

Add the newest git tag and commit to the version string - #33

Merged
bl1tmaps merged 1 commit into
mainfrom
feature/git-version
Nov 9, 2026
Merged

bl1tmaps merged 1 commit into
mainfrom
feature/git-version

Conversation

@bl1tmaps

@bl1tmaps bl1tmaps commented Nov 9, 2026

Copy link
Copy Markdown
Owner

mylo and Mylo IDE now print e.g. '0.5.0 (0.4.0-22-g793005a)': the hard-coded version plus 'git describe --tags --always --dirty'. cmake/GitVersion.cmake regenerates mylo_git_version.h on every build, so the version follows new merges and tags without reconfiguring, and only rewrites it when the text changes so unchanged builds recompile nothing. Builds without git show the plain version.

CI checks out the full history so tags are available, and no longer passes the commit hash as MYLO_VERSION_SUFFIX since git describe has it.

mylo and Mylo IDE now print e.g. '0.5.0 (0.4.0-22-g793005a)': the
hard-coded version plus 'git describe --tags --always --dirty'.
cmake/GitVersion.cmake regenerates mylo_git_version.h on every build, so
the version follows new merges and tags without reconfiguring, and only
rewrites it when the text changes so unchanged builds recompile nothing.
Builds without git show the plain version.

CI checks out the full history so tags are available, and no longer
passes the commit hash as MYLO_VERSION_SUFFIX since git describe has it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bl1tmaps
bl1tmaps merged commit b6df09b into main Nov 9, 2026
0 of 4 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.

1 participant