From c005167c0c081717031d0a785c6c3d9830930d15 Mon Sep 17 00:00:00 2001 From: sink Date: Wed, 27 Oct 2021 21:30:37 +0800 Subject: [PATCH] Revert "ci: #42 package name should not contain version" This reverts commit c9101ab3cb4dc45565c39bf3160a6adcb35284fc. --- lint.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/lint.sh b/lint.sh index eb3e4be..1ea4fcb 100755 --- a/lint.sh +++ b/lint.sh @@ -27,9 +27,7 @@ if [ -n "$index_file" ]; then packages=$(awk '{print $1}' index-body.md) for i in $packages; do expr "$i" : "[a-z0-9\.-]\+$" > /dev/null || (echo "$i: 包名应该全为小写" && exit 250) - expr "$i" : ".*\.[0-9]\+\." > /dev/null && echo "[ERROR] $i : 包名不能含有版本号" && exit 2 done fi - ## lint markdown # TODO