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
parent d927db1c0d
commit c0875838af
1 changed files with 1 additions and 1 deletions

View File

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