|
|
@ -85,7 +85,9 @@ fi
|
|
|
|
MODULE=${SUBROOT#$TDEROOT/main/}
|
|
|
|
MODULE=${SUBROOT#$TDEROOT/main/}
|
|
|
|
|
|
|
|
|
|
|
|
# Calculate version
|
|
|
|
# Calculate version
|
|
|
|
tag=`git tag | sort -t. -k 1,1nr -k 2,2nr -k 3,3nr -k 4,4nr | while read t; do \
|
|
|
|
tag=`git tag | \
|
|
|
|
|
|
|
|
sed "s|^\([^0-9]\)|\1.|" | sort -t. -k 1,1nr -k 2,2nr -k 3,3nr -k 4,4nr -k 5,5nr | sed "s|^\([^0-9]\)\.|\1|" | \
|
|
|
|
|
|
|
|
while read t; do \
|
|
|
|
git branch --contains $t | cut -c 3- | grep -x "$branch" >/dev/null && \
|
|
|
|
git branch --contains $t | cut -c 3- | grep -x "$branch" >/dev/null && \
|
|
|
|
echo "$t..HEAD" && break; done`
|
|
|
|
echo "$t..HEAD" && break; done`
|
|
|
|
|
|
|
|
|
|
|
|