both programs now acquire semantic versioning recorded at the build
time. they also report the version at startup and -v flag.
this is useful for a more formal release process and to potentially
avoid compatibility issues in the future.
in a regular build flow, the version is taken from a git tag using the
following command:
git -C . describe --match 'v*.*.*' --tags
in a non-standard scenario where git isn't available, the version can
be provided on the command line during build like so:
zig build -Dversion=1.2.3
if both git and command line supplied versions are available, they must
match.
a very rudimentary UI changes but this is a start for a "sys info" panel:
part of #2
0527ddf5c1
to665c5413d9
1 year agoadd semantic versioning and timestamp at build timeto build-time semantic versioning 1 year agob7b78cc06e
to7acec68291
1 year ago7acec68291
to40b05d16de
1 year ago40b05d16de
tob5e9814d68
1 year agob5e9814d68
to517f9d4056
1 year agoec5e15e8e9
into master manually 1 year ago