From 743ac6671df267985af8fe693a7c8935232fe721 Mon Sep 17 00:00:00 2001
From: Thomas Owen James <tjames@cmd-scouting-ctrlhub.dyndns.cern.ch>
Date: Tue, 7 Jun 2022 15:54:18 +0200
Subject: [PATCH] changed tag to ignore starting character i.e the v in
 rpmbuild script

---
 scripts/scdaqrpm.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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