You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hugegraph.apache.org by ji...@apache.org on 2023/02/08 13:48:11 UTC
[incubator-hugegraph-doc] 01/01: Update validate-release.yml
This is an automated email from the ASF dual-hosted git repository.
jin pushed a commit to branch imbajin-patch-2
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-doc.git
commit 14f236b08c50e148e32d0fb684028b2830506cf0
Author: imbajin <ji...@apache.org>
AuthorDate: Wed Feb 8 21:48:06 2023 +0800
Update validate-release.yml
---
.github/workflows/validate-release.yml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/validate-release.yml b/.github/workflows/validate-release.yml
index 3c47cd85..a45429e8 100644
--- a/.github/workflows/validate-release.yml
+++ b/.github/workflows/validate-release.yml
@@ -109,19 +109,19 @@ jobs:
COUNT=$(find . -type d -empty | wc -l)
if [[ $COUNT -ne 0 ]]; then
find . -type d -empty
- echo "The package should not include empty directory, but get $COUNT" # TODO: && exit 1
+ echo "The package shouldn't include empty directory, but get $COUNT" # TODO: && exit 1
fi
# 4.3 ensure any file should less than 900kb & not include binary file
COUNT=$(find . -type f -size +900k | wc -l)
if [[ $COUNT -ne 0 ]]; then
find . -type f -size +900k
- echo "The package should not include file larger than 900kb, but get $COUNT"
+ echo "The package shouldn't include file larger than 900kb, but get $COUNT"
fi
- COUNT=$(find . -type f | perl -lne 'print if -B' | wc -l)
+ COUNT=$(find . -type f | perl -lne 'print if -B' | grep -v *.txt | wc -l)
if [[ $COUNT -ne 0 ]]; then
find . -type f | perl -lne 'print if -B'
- echo "The package should not include binary file, but get $COUNT"
+ echo "The package shouldn't include binary file, but get $COUNT"
fi
# 4.4 test compile the packages