mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 05:56:21 +00:00
fix branch detection
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user