fix branch detection

pull/545/head 2.2.0
EvgeniyPatlan 2025-06-27 00:41:31 +03:00 committed by GitHub
parent 804059ce75
commit f334af03a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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