File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -73,15 +73,15 @@ pip3 install awscli
7373aws 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 ))
7878s3_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 "
8282if [ " $local_plugin_file_nums " -ne " $s3_plugin_file_nums " ]
8383then
8484 echo " Attention,Maybe the plugin uploaded to s3 is not correct."
8585else
86- echo " The plugin uploaded to s3 is not correct."
86+ echo " The plugin uploaded to s3 is correct."
8787fi
You can’t perform that action at this time.
0 commit comments