diff --git a/SCYLLA-VERSION-GEN b/SCYLLA-VERSION-GEN index a6389001aa..a218857fca 100755 --- a/SCYLLA-VERSION-GEN +++ b/SCYLLA-VERSION-GEN @@ -68,7 +68,7 @@ then SCYLLA_RELEASE=$(cat version | awk -F'-' '{print $2}') else DATE=$(date --utc +%Y%m%d) - GIT_COMMIT=$(git -C "$SCRIPT_DIR" log --pretty=format:'%h' -n 1) + GIT_COMMIT=$(git -C "$SCRIPT_DIR" log --pretty=format:'%h' -n 1 --abbrev=12) SCYLLA_VERSION=$VERSION # For custom package builds, replace "0" with "counter.your_name", # where counter starts at 1 and increments for successive versions.