Fix build

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

View File

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