- Allows to add a project by just adding custom definitions to projects/<project>.sh - Except for cases that haven't been anticipated yet, modifying common code should no longer be needed Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
20 lines
329 B
Bash
20 lines
329 B
Bash
# Elixir definitions for Zephyr
|
|
|
|
list_tags()
|
|
{
|
|
echo "$tags" |
|
|
grep -v '^zephyr-v'
|
|
}
|
|
|
|
list_tags_h()
|
|
{
|
|
echo "$tags" |
|
|
grep -v '^zephyr-v' |
|
|
tac |
|
|
sed -r 's/^(v[0-9])\.([0-9]*)(.*)$/\1 \1.\2 \1.\2\3/'
|
|
}
|
|
|
|
get_latest()
|
|
{
|
|
git tag | grep -v '^zephyr-v' | version_dir | grep -v '\-rc' | sort -V | tail -n 1
|
|
}
|