diff --git a/scripts/build.sh b/scripts/build.sh index 8abb0a8..1bb1d2b 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -20,7 +20,7 @@ fi MODEL_DIR="$(realpath "models/${MODEL}")" DATE="$(git show --format="%cd" --date="format:%Y-%m-%d" --no-patch)" -REV="$(git describe --always --dirty)" +REV="$(git describe --always --dirty --abbrev=7)" VERSION="${DATE}_${REV}" echo "Building '${VERSION}' for '${MODEL}'"