Fix param

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

View File

@ -117,8 +117,8 @@ get_sources(){
echo "Sources will not be downloaded"
return 0
fi
IS_RELEASE_BRANCH=$(echo ${BRANCH} | grep -c release);
if [ ${IS_RELEASE_BRANCH} != 0 ]; then
IS_RELEASE_BRANCH=$(echo ${VERSION} | grep -c release)
if [ ${IS_RELEASE_BRANCH} != 0 ]; then
VERSION=$(echo $BRANCH | awk -F'-' '{print $2}')
fi
PRODUCT=percona-pg-stat-monitor${PG_RELEASE}