From a2ab02c996569d743cf327bc9cf28b4d8c4b39a2 Mon Sep 17 00:00:00 2001 From: Thomas Casteleyn Date: Mon, 14 Oct 2024 16:25:10 +0200 Subject: [PATCH] Update create_package_rpm.sh --- docker/centos-7/create_package_rpm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/centos-7/create_package_rpm.sh b/docker/centos-7/create_package_rpm.sh index ff0a5c1..1371e27 100755 --- a/docker/centos-7/create_package_rpm.sh +++ b/docker/centos-7/create_package_rpm.sh @@ -19,7 +19,7 @@ ARCH=$(uname -m) VERSION_GIT=$(git describe --abbrev=6 --always --tags | cut -c 2-) PKG_VERSION="" case ${VERSION_GIT} in - *-alpha*|*-beta*|*-rc*) + *-alpha*|*-beta*|*-rc*|*-patch*) VERSION=$(cut -d'-' -f 1 <<< ${VERSION_GIT}) RELEASE=$(cut -d'-' -f 2 <<< ${VERSION_GIT}) RELEASE2=$(cut -d'-' -f 3 <<< ${VERSION_GIT})