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