From ff0eeb0fce120478a814bf076c8b7555e702a554 Mon Sep 17 00:00:00 2001 From: Brian Read Date: Sun, 9 Jul 2023 16:14:43 +0100 Subject: [PATCH] Remove RELEASE from tag as reflects build system not system being built --- git-cvs2git.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/git-cvs2git.sh b/git-cvs2git.sh index 91ed59c..49f9a32 100755 --- a/git-cvs2git.sh +++ b/git-cvs2git.sh @@ -757,7 +757,10 @@ git push --force -u $QUIET origin master # Now create the version and release tag for these files RELEASE=`rpm --queryformat '%{release}\n' --specfile $NAME.spec | head -n 1` -TAG=$VERSION-$RELEASE +# Release is not reliable - if you run on Rocky it comes back EL8, centos 7 - EL7 +# so - confusing!! +# for now - take out the RELEASE from the tag +TAG=$VERSION git tag -a $TAG -m "$COMMENT" git push origin $TAG $QUIET