elixir/projects/mesa.sh
Michael Opdenacker dc19b36b1e Modify the way Mesa tags are presented
- Just for consistency with other projects

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-08-30 11:25:48 +02:00

16 lines
258 B
Bash

# Elixir definitions for Mesa
list_tags()
{
echo "$tags" |
tac |
grep ^mesa-[0-9]*[\.][0-9]*
}
list_tags_h()
{
echo "$tags" |
grep ^mesa-[0-9]*[\.][0-9]* |
tac |
sed -r 's/^mesa-([0-9]*)(\.[0-9]*)(.*)$/v\1 v\1\2 mesa-\1\2\3/'
}