fix branch detection

This commit is contained in:
EvgeniyPatlan
2025-06-27 00:41:31 +03:00
committed by GitHub
parent 804059ce75
commit f334af03a6

View File

@@ -119,7 +119,7 @@ get_sources(){
fi
IS_RELEASE_BRANCH=$(echo ${VERSION} | grep -c release)
if [ ${IS_RELEASE_BRANCH} != 0 ]; then
VERSION=$(echo $BRANCH | awk -F'-' '{print $2}')
VERSION=$(echo $VERSION | awk -F'-' '{print $2}')
fi
PRODUCT=percona-pg-stat-monitor${PG_RELEASE}
PRODUCT_FULL=${PRODUCT}-${VERSION}