Attempting to build the lastest tag instead of a hard-coded one

This commit is contained in:
anon8675309 2021-06-20 21:11:06 -05:00 committed by Isaac Connor
parent 74641731bb
commit f5272c99b3
1 changed files with 1 additions and 1 deletions

View File

@ -123,8 +123,8 @@ else
if [ -z "$BRANCH" ]; then
# This should only happen in CI environments where tag info isn't available
BRANCH=`grep ' release$' distros/fedora/zoneminder.spec | head -n 1 | sed -e 's/ release//g' -e 's/[^0-9]*//'`
echo "Building branch $BRANCH"
fi
echo "BRANCH = $BRANCH"
if [ "$BRANCH" == "" ]; then
echo "Unable to determine latest stable branch!"
exit 0;