From 2ee388be6fd93989d779952fbfec6760216e3c8b Mon Sep 17 00:00:00 2001 From: winlin Date: Wed, 6 Sep 2023 07:25:52 +0800 Subject: [PATCH] Release v5.8.31 for droplet. --- auto/pub.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto/pub.sh b/auto/pub.sh index b8b21e76..5b1d81fd 100755 --- a/auto/pub.sh +++ b/auto/pub.sh @@ -66,7 +66,7 @@ fi if [[ $(grep application_version scripts/setup-droplet/srs.json |grep -v user | grep -q $VERSION || echo no) == no ]]; then VERSION3="sed -i '' 's|\"application_version\": \".*\"|\"application_version\": \"$VERSION\"|g' scripts/setup-droplet/srs.json" fi -if [[ $(grep 'git clone -b main' scripts/setup-droplet/scripts/01-srs.sh | grep -q $BRANCH || echo no) == no ]]; then +if [[ $(grep -q 'git clone -b main' scripts/setup-droplet/scripts/01-srs.sh && echo no) == no ]]; then VERSION4="sed -i '' 's|git clone -b main|git clone -b $BRANCH|g' scripts/setup-droplet/scripts/01-srs.sh" fi if [[ ! -z $VERSION0 || ! -z $VERSION1 || ! -z $VERSION2 || ! -z $VERSION3 || ! -z $VERSION4 ]]; then