CICD: Make Version Information SemVer Compliant.

Make the version information used throughout the application and build
process compliant with the SemVer specifications, so that it can be
processed with libraries.

Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
Michael Keller 2024-07-27 12:44:13 +12:00
parent 3c8ce37299
commit 2b7900b68d
5 changed files with 23 additions and 9 deletions

View file

@ -523,6 +523,9 @@ cd "$SRC"
cd ${SRC_DIR}
# Remove a stale generated ssrf-version.h file (if any)
rm -f ssrf-version.h
if [ ! -d libdivecomputer/src ] ; then
git submodule init
git submodule update --recursive