Attempting to build the lastest tag instead of a hard-coded one
This commit is contained in:
parent
d927db1c0d
commit
c0875838af
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue