elixir/projects/op-tee.sh
Michael Opdenacker 21fdc0c3ec Fix tags for op-tee
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2020-11-04 12:26:40 +01:00

20 lines
315 B
Bash

# Elixir definitions for OP-TEE Trusted OS
list_tags_h()
{
echo "$tags" |
grep '^[0-9]\.' |
tac |
sed -r 's/^([0-9]*)\.([0-9]*)(.*)$/v\1 \1.\2 \1.\2\3/'
}
list_tags()
{
echo "$tags" |
grep '^[0-9]\.'
}
get_latest()
{
git tag | grep '^[0-9]\.' | grep -v '\-rc' | sort -V | tail -n 1
}