Merge branch 'bugfix/trim-tags' into dev
This commit is contained in:
@@ -55,6 +55,7 @@ jobs:
|
||||
COUNT=$(echo "$TAGS" | wc -l)
|
||||
if [ $COUNT -gt 10 ]; then
|
||||
REMAIN=$((COUNT - 10))
|
||||
echo Found $COUNT tags, dropping all but the last 10
|
||||
echo "$TAGS" | head -n $REMAIN > /tmp/old_tags
|
||||
else
|
||||
echo less than 10 tags, skipping cleanup
|
||||
|
||||
Reference in New Issue
Block a user