Commit 1361c99f by 据说甜蜜呢

去掉,

parent 246f7514
...@@ -32,7 +32,7 @@ function AddTailConfig() ...@@ -32,7 +32,7 @@ function AddTailConfig()
if [ "${AllPublishable}" == "1" ]; if [ "${AllPublishable}" == "1" ];
then then
AddHeadConfig "1","0" AddHeadConfig "1" "0"
AddTailConfig AddTailConfig
echo "All micro-services will be released." echo "All micro-services will be released."
...@@ -62,7 +62,7 @@ else ...@@ -62,7 +62,7 @@ else
declare isPublishable declare isPublishable
declare publishableCount=0; declare publishableCount=0;
AddHeadConfig "1","0" AddHeadConfig "0" "0"
for servicePrefix in `ls ./src/Services|xargs -d '/'` for servicePrefix in `ls ./src/Services|xargs -d '/'`
do do
# Notes: Hard release[manual control], will not analyz changes. # Notes: Hard release[manual control], will not analyz changes.
...@@ -86,7 +86,7 @@ else ...@@ -86,7 +86,7 @@ else
declare serviceCount=$(ls -l src/Services | grep "^d" | wc -l) declare serviceCount=$(ls -l src/Services | grep "^d" | wc -l)
if [ "${publishableCount}" == "${serviceCount}" ] ; if [ "${publishableCount}" == "${serviceCount}" ] ;
then then
AddHeadConfig "0","1" AddHeadConfig "0" "1"
AddTailConfig AddTailConfig
echo "Tips: No services need to be released." echo "Tips: No services need to be released."
fi fi
......
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