Skip to content

Commit

Permalink
Revert "ci: #42 package name should not contain version"
Browse files Browse the repository at this point in the history
This reverts commit c9101ab.
  • Loading branch information
sinkcup authored Oct 27, 2021
1 parent c9101ab commit c005167
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c005167

Please sign in to comment.