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