scripts: misc: guix.sh: fix last version detection.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
This commit is contained in:
parent
4672e02a45
commit
b3a0ddd92c
|
@ -271,10 +271,11 @@ is_latest_release()
|
|||
return ${true}
|
||||
elif [ -n "$(echo ${revision} | grep '\.')" ] ; then
|
||||
return ${false}
|
||||
else
|
||||
git --no-pager -C "$(guix_checkout)" tag --merged "${revision}" | \
|
||||
grep "^v${guix_latest_release}$" > /dev/null
|
||||
elif git --no-pager -C "$(guix_checkout)" tag --merged "${revision}" | \
|
||||
grep "^v${guix_latest_release}$" > /dev/null ; then
|
||||
return ${true}
|
||||
else
|
||||
return ${false}
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue