| author | |
| committer | |
| log | b3a3e2094e8b88e40eecf65d29f39af10442bde4 |
| tree | fe9869089f5aa602818c66d4644c3a2c4d669132 |
| parent | f0697c28f80d64c544302aea576e41ebc443b41c |
The git revision is build metadata and should be appended with a plus sign.
https://semver.org/#spec-item-101 files changed, 1 insertions(+), 1 deletions(-)
CMakeLists.txt+1-1| ... | ... | @@ -30,7 +30,7 @@ if(GIT_EXE) |
| 30 | 30 | message("WARNING: Tag does not match configured Zig version") |
| 31 | 31 | endif() |
| 32 | 32 | else() |
| 33 | set(ZIG_VERSION "${ZIG_VERSION_MAJOR}.${ZIG_VERSION_MINOR}.${ZIG_VERSION_PATCH}.${ZIG_GIT_REV}") | |
| 33 | set(ZIG_VERSION "${ZIG_VERSION}+${ZIG_GIT_REV}") | |
| 34 | 34 | endif() |
| 35 | 35 | endif() |
| 36 | 36 | message("Configuring zig version ${ZIG_VERSION}") |