From 1c639942ed8bd1648a33775001018ccd4856ab3f Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 3 Jan 2020 19:20:13 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E6=9B=B4=E6=96=B0=E9=83=A8=E7=BD=B2?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E8=B7=AF=E5=BE=84=E4=B8=BA=203.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy-admin.sh | 6 +++--- deploy-client.sh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deploy-admin.sh b/deploy-admin.sh index b52f9179..be67931c 100644 --- a/deploy-admin.sh +++ b/deploy-admin.sh @@ -4,10 +4,10 @@ cd ~/BootstrapAdmin git pull dotnet publish src/admin/Bootstrap.Admin -c Release -rm -f ~/BootstrapAdmin/src/admin/Bootstrap.Admin/bin/Release/netcoreapp3.0/publish/appsettings*.json -rm -f ~/BootstrapAdmin/src/admin/Bootstrap.Admin/bin/Release/netcoreapp3.0/publish/BootstrapAdmin.db +rm -f ~/BootstrapAdmin/src/admin/Bootstrap.Admin/bin/Release/netcoreapp3.1/publish/appsettings*.json +rm -f ~/BootstrapAdmin/src/admin/Bootstrap.Admin/bin/Release/netcoreapp3.1/publish/BootstrapAdmin.db systemctl stop ba.admin -\cp -fr ~/BootstrapAdmin/src/admin/Bootstrap.Admin/bin/Release/netcoreapp3.0/publish/* /usr/local/ba/admin/ +\cp -fr ~/BootstrapAdmin/src/admin/Bootstrap.Admin/bin/Release/netcoreapp3.1/publish/* /usr/local/ba/admin/ systemctl start ba.admin systemctl status ba.admin -l diff --git a/deploy-client.sh b/deploy-client.sh index 172f8e72..b8ec3bae 100644 --- a/deploy-client.sh +++ b/deploy-client.sh @@ -4,8 +4,8 @@ cd ~/BootstrapAdmin git pull dotnet publish src/client/Bootstrap.Client -c Release -rm -f ~/BootstrapAdmin/src/client/Bootstrap.Client/bin/Release/netcoreapp3.0/publish/appsettings*.json +rm -f ~/BootstrapAdmin/src/client/Bootstrap.Client/bin/Release/netcoreapp3.1/publish/appsettings*.json systemctl stop ba.client -\cp -fr ~/BootstrapAdmin/src/client/Bootstrap.Client/bin/Release/netcoreapp3.0/publish/* /usr/local/ba/client/ +\cp -fr ~/BootstrapAdmin/src/client/Bootstrap.Client/bin/Release/netcoreapp3.1/publish/* /usr/local/ba/client/ systemctl start ba.client systemctl status ba.client -l