Remove RELEASE from tag as reflects build system not system being built

This commit is contained in:
Brian Read 2023-07-09 16:14:43 +01:00
parent 5b30bee2a9
commit ff0eeb0fce

View File

@ -757,7 +757,10 @@ git push --force -u $QUIET origin master
# Now create the version and release tag for these files # Now create the version and release tag for these files
RELEASE=`rpm --queryformat '%{release}\n' --specfile $NAME.spec | head -n 1` 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 tag -a $TAG -m "$COMMENT"
git push origin $TAG $QUIET git push origin $TAG $QUIET