From 5c4f74da8fef226b316859556029959e6a045855 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Mon, 11 Mar 2024 09:18:16 +1100 Subject: [PATCH] version release --- git-retag.sh | 3 ++- smeserver-gitutils | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 160000 smeserver-gitutils 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