merge_helpers.sh: Fix downstream_latest_tag if sc_v and sc_last are identical
Change-Id: I750b4ce873229de098988c5dbf94e0cfe6a57b82
This commit is contained in:
parent
7ffa6214a4
commit
0e2de3eadb
@ -99,8 +99,8 @@ upstream_previous_tag() {
|
||||
downstream_latest_tag() {
|
||||
local commit="HEAD"
|
||||
while true; do
|
||||
local tag=`git describe --abbrev=0 "$commit" --tags`
|
||||
if [[ "$tag" =~ "sc_v" ]]; then
|
||||
local tag=`git tag --points-at "$commit" | grep "^sc_v" | head -n 1`
|
||||
if [ ! -z "$tag" ]; then
|
||||
echo "$tag"
|
||||
break
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user