Skip to content

Commit 2b11064

Browse files
committed
fix: modified the shell prompt to make it easy to understand
Signed-off-by: KeHaoKH <[email protected]>
1 parent 4ef7fc0 commit 2b11064

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hack/release/auto-release-darwin-arm64.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,15 @@ pip3 install awscli
7373
aws s3 cp $plugin_dir $STORAGE_URL_WITH_TAG --recursive --acl public-read
7474

7575
# check if the number of plugins on s3 is correct
76-
local_plugin_nums=$(./dtm list plugins |wc -l)
76+
local_plugin_nums=$(../../dtm list plugins |wc -l)
7777
((local_plugin_file_nums=local_plugin_nums*6))
7878
s3_plugin_file_total_nums=$(aws s3 ls download.devstream.io/"$tag"/|awk '{print $NF}'|uniq|wc -l)
7979
((s3_plugin_file_nums=s3_plugin_file_total_nums-3))
80-
echo "$s3_plugin_file_nums"
81-
echo "$local_plugin_file_nums"
80+
echo "s3_plugin_file_nums:" "$s3_plugin_file_nums"
81+
echo "local_plugin_file_nums:" "$local_plugin_file_nums"
8282
if [ "$local_plugin_file_nums" -ne "$s3_plugin_file_nums" ]
8383
then
8484
echo "Attention,Maybe the plugin uploaded to s3 is not correct."
8585
else
86-
echo "The plugin uploaded to s3 is not correct."
86+
echo "The plugin uploaded to s3 is correct."
8787
fi

0 commit comments

Comments
 (0)