We'll use semantic versioning, which will be set through git tags.
For now, a script will be run as a pre-build event, parsing the git
tag and generating version.h.
wnbd-client -v will return the wnbd-client, the libwnbd as well as
the driver version.
We're using the "git describe" short version, which includes the
commit id and offset for untagged commits. If needed, we can easily
add other version info (e.g. build type, architecture, etc).
We'll use semantic versioning, which will be set through git tags.
For now, a script will be run as a pre-build event, parsing the git tag and generating version.h.
wnbd-client -v will return the wnbd-client, the libwnbd as well as the driver version.
We're using the "git describe" short version, which includes the commit id and offset for untagged commits. If needed, we can easily add other version info (e.g. build type, architecture, etc).
Signed-off-by: Lucian Petrut lpetrut@cloudbasesolutions.com