Switch to a usable default for list-tags -h
- This way, it's not always necessary to create custom definitions for new projects. - Update the definitions for projects that can use such a default. Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
This commit is contained in:
parent
d6dbdda362
commit
2ad97fb303
3 changed files with 4 additions and 17 deletions
|
|
@ -1,9 +1,2 @@
|
|||
# Elixir definitions for Musl
|
||||
|
||||
list_tags_h()
|
||||
{
|
||||
echo "$tags" |
|
||||
tac |
|
||||
sed -r 's/^(v[0-9])\.([0-9]*)(.*)$/\1 \1.\2 \1.\2\3/'
|
||||
}
|
||||
|
||||
# Using the default ones so far!
|
||||
|
|
|
|||
|
|
@ -1,9 +1,2 @@
|
|||
# Elixir definitions for uclibc-ng
|
||||
|
||||
list_tags_h()
|
||||
{
|
||||
echo "$tags" |
|
||||
tac |
|
||||
sed -r 's/^(v[0-9])\.([0-9]*)(.*)$/\1 \1.\2 \1.\2\3/'
|
||||
}
|
||||
|
||||
# Using the default ones so far
|
||||
|
|
|
|||
|
|
@ -49,8 +49,9 @@ list_tags()
|
|||
|
||||
list_tags_h()
|
||||
{
|
||||
echo "$tags" |
|
||||
tac |
|
||||
sed -r 's/^/XXX XXX /';
|
||||
sed -r 's/^(v[0-9])\.([0-9]*)(.*)$/\1 \1.\2 \1.\2\3/'
|
||||
}
|
||||
|
||||
get_latest()
|
||||
|
|
|
|||
Loading…
Reference in a new issue