Include commit hash if possible in versioning script, if a non-stable tree is compiled
This commit is contained in:
parent
abdb1aeff9
commit
abeb7ce2e6
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ then
|
|||
then
|
||||
PREVIOUS=$(grep '^2' "${SCRIPT_DIR}/ChangeLog" | head -n 2 | tail -n 1 | cut -d ' ' -f 2)
|
||||
HASH=$(git log -n 1 --pretty=format:"%h" 2>/dev/null)
|
||||
VERSION=$PREVIOUS-$HASH
|
||||
VERSION=$PREVIOUS-next-g$HASH
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue