diff --git a/git-retag.sh b/git-retag.sh index 4090d91..15e96de 100755 --- a/git-retag.sh +++ b/git-retag.sh @@ -146,7 +146,8 @@ done # Now create the version and release tag from the specfile VERSION_RELEASE=`rpm --queryformat '%{version} %{release}\n' --specfile $REPO_NAME.spec` VERSION=${VERSION_RELEASE% *} -RELEASE=${VERSION_RELEASE#* } +REST=${VERSION_RELEASE#* } +RELEASE=${REST#* } # Release is not reliable - if you run on Rocky it comes back EL8, centos 7 - EL7 # So, we need to just take the build part (first word) TAG=$VERSION"-"${RELEASE%.*} diff --git a/smeserver-gitutils b/smeserver-gitutils new file mode 160000 index 0000000..c25fa19 --- /dev/null +++ b/smeserver-gitutils @@ -0,0 +1 @@ +Subproject commit c25fa1943ac9074e506e52e9148e08f9ee1d723d