aboutsummaryrefslogtreecommitdiffstats
path: root/generate_version_h.sh
diff options
context:
space:
mode:
authorPA4WDH2023-05-21 11:08:14 +0200
committerPA4WDH2023-05-21 11:08:14 +0200
commit07a65f52a767da72845eafba22a9e44798409b6f (patch)
treed2e968f90ae7fcd78bfb6a2fb060bf6e1ba81c3e /generate_version_h.sh
parentImprove error handling (diff)
downloadcputemp2maxfreq-07a65f52a767da72845eafba22a9e44798409b6f.tar.gz
cputemp2maxfreq-07a65f52a767da72845eafba22a9e44798409b6f.tar.bz2
cputemp2maxfreq-07a65f52a767da72845eafba22a9e44798409b6f.zip
Improve automatic versioning
Diffstat (limited to 'generate_version_h.sh')
-rwxr-xr-xgenerate_version_h.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/generate_version_h.sh b/generate_version_h.sh
index fed5fa0..75df5a2 100755
--- a/generate_version_h.sh
+++ b/generate_version_h.sh
@@ -8,3 +8,4 @@ echo "#define VERSION \"$VERSION\""
echo "#define HASH \"$HASH\""
echo "#define BRANCH \"$BRANCH\""
echo "#define VERSION_FULL VERSION\"-\"HASH\" (\"BRANCH\")\""
+echo "char* version();"