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
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
async function onCommit(wrapped){
|
||||
if (!wrapped.display) {
|
||||
onEmptyCommit();
|
||||
} else addTag(wrapped.display);
|
||||
} else addTag(wrapped.display.trim());
|
||||
}
|
||||
|
||||
function onSelect(dummy){}
|
||||
|
||||
Reference in New Issue
Block a user