elixir/projects/u-boot.sh
Michael Opdenacker a324bbcf15 Fix u-boot menu version
- An incorrect match was causing errors on the server
  (1 field instead of 3)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-08-30 16:31:37 +02:00

19 lines
338 B
Bash

# Elixir definitions for U-Boot
list_tags_h()
{
echo "$tags" |
grep '^v20' |
tac |
sed -r 's/^(v20..)\.([0-9][0-9])(.*)$/\1 \1.\2 \1.\2\3/'
echo "$tags" |
grep -E '^(v1|U)' |
tac |
sed -r 's/^/old by-version /'
echo "$tags" |
grep -E '^(LABEL|DENX)' |
tac |
sed -r 's/^/old by-date /'
}