diff --git a/scripts/scdaqrpm.sh b/scripts/scdaqrpm.sh
index d0a509ca1d0473468be3f79020939a05edeca0a4..71f845410f64686a69b96cdc0fd1c1b9818e35d6 100755
--- a/scripts/scdaqrpm.sh
+++ b/scripts/scdaqrpm.sh
@@ -25,6 +25,7 @@ PARAMCACHE="paramcache"
 NLINES=1
 ASK="1"
 TAG=$(git describe --tags)
+TAG=${TAG:0:6}
 
 if [ -n "$1" ]; then
   if [ "$1" = "--batch" ]; then