version release
This commit is contained in:
@@ -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
1
smeserver-gitutils
Submodule
Submodule smeserver-gitutils added at c25fa1943a
Reference in New Issue
Block a user