version release

This commit is contained in:
Trevor Batley
2024-03-11 09:18:16 +11:00
parent f7e6b20b25
commit 5c4f74da8f
2 changed files with 3 additions and 1 deletions

View File

@@ -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%.*}

1
smeserver-gitutils Submodule

Submodule smeserver-gitutils added at c25fa1943a