update sanity check when parsing config

This commit is contained in:
shoopea
2023-06-29 23:20:46 +02:00
parent 7e8a34a435
commit 3c785dec8b
3 changed files with 20 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
githash=`git rev-parse --short HEAD`
branch=`git rev-parse --abbrev-ref HEAD`
buildstamp=`date -u '+%Y-%m-%d_%H:%M:%S'`
commits=`git rev-list --count master`
commits=`git rev-list --count $branch`
# Write out the package.
cat << EOF > version.go
// Code generated by version.sh (@generated) DO NOT EDIT.