mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2025-12-23 22:37:53 -05:00
Attempting to build the lastest tag instead of a hard-coded one
This commit is contained in:
@@ -118,8 +118,11 @@ else
|
||||
fi;
|
||||
if [ "$SNAPSHOT" == "stable" ]; then
|
||||
if [ "$BRANCH" == "" ]; then
|
||||
#REV=$(git rev-list --tags --max-count=1)
|
||||
echo "About to get the hash of the most recent tag"
|
||||
REV=$(git rev-list --tags --max-count=1)
|
||||
echo "REV = $REV"
|
||||
BRANCH=`git describe --tags $(git rev-list --tags --max-count=1)`;
|
||||
echo "BRANCH = $BRANCH"
|
||||
if [ "$BRANCH" == "" ]; then
|
||||
echo "Unable to determine latest stable branch!"
|
||||
exit 0;
|
||||
|
||||
Reference in New Issue
Block a user