Commit 547e4afa by 据说甜蜜呢

优化脚本

parent 2be43f65
Pipeline #4209 passed with stage
in 20 seconds
...@@ -57,15 +57,12 @@ else ...@@ -57,15 +57,12 @@ else
fi fi
} }
declare services=$(ls -l src/services | awk 'NR>1')
declare servicePrefix=""
declare isPublishable declare isPublishable
declare publishableCount=0; declare publishableCount=0;
AddHeadConfig "1","0" AddHeadConfig "1","0"
for service in ${services} for servicePrefix in `ls ./src/Services|xargs -d '/'`
do do
servicePrefix=($(echo ${service} | awk '{print $9}'))
# Notes: manual control, mandatory release, will not analyzing changes # Notes: manual control, mandatory release, will not analyzing changes
isPublishable=$(eval echo ${servicePrefix}Publishable) isPublishable=$(eval echo ${servicePrefix}Publishable)
if [ "${isPublishable}" == "1" ]; if [ "${isPublishable}" == "1" ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment