This commit is contained in:
parent
5f569c16d0
commit
753829f114
|
|
@ -50,10 +50,11 @@ runs:
|
|||
fi
|
||||
|
||||
echo "提取到的标签数量: $(echo "$tags" | wc -l)"
|
||||
echo "前5个标签: $(echo "$tags" | head -5)"
|
||||
echo "前10个标签: $(echo "$tags" | head -10)"
|
||||
|
||||
# 过滤出当前日期的版本
|
||||
date_tags=$(echo "$tags" | grep "^$current_date")
|
||||
echo "正在过滤当前日期的标签,current_date=$current_date"
|
||||
date_tags=$(echo "$tags" | grep "^$current_date" 2>/dev/null || echo "")
|
||||
echo "当前日期的标签: $date_tags"
|
||||
|
||||
if [ -n "$date_tags" ]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue