#
Delete old releases of repository via CLI
#
Get all release tags
tea r ls|tail -n+XY|head -n-1|awk '{print $2}'
Replace XY with the number of lines to exclude, e.g. the latest release tags
#
Delete release tags via tea command
tea r ls|tail -n+14|head -n-1|awk '{print $2}'|xargs -n1 tea r rm -y
Replace XY with the number of lines to exclude, e.g. the latest release tags