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