version release
This commit is contained in:
parent
f7e6b20b25
commit
5c4f74da8f
@ -146,7 +146,8 @@ done
|
|||||||
# Now create the version and release tag from the specfile
|
# Now create the version and release tag from the specfile
|
||||||
VERSION_RELEASE=`rpm --queryformat '%{version} %{release}\n' --specfile $REPO_NAME.spec`
|
VERSION_RELEASE=`rpm --queryformat '%{version} %{release}\n' --specfile $REPO_NAME.spec`
|
||||||
VERSION=${VERSION_RELEASE% *}
|
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
|
# 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)
|
# So, we need to just take the build part (first word)
|
||||||
TAG=$VERSION"-"${RELEASE%.*}
|
TAG=$VERSION"-"${RELEASE%.*}
|
||||||
|
1
smeserver-gitutils
Submodule
1
smeserver-gitutils
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit c25fa1943ac9074e506e52e9148e08f9ee1d723d
|
Loading…
Reference in New Issue
Block a user