From bab4abe978c8f5c0778efadfd196c64600ca7fd9 Mon Sep 17 00:00:00 2001 From: Argo-Cloud Date: Wed, 18 Nov 2020 17:07:14 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=9B=B4=E6=96=B0=E9=83=A8?= =?UTF-8?q?=E7=BD=B2=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/linux/deploy-admin.sh | 6 +++--- scripts/linux/deploy-client.sh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/linux/deploy-admin.sh b/scripts/linux/deploy-admin.sh index be67931c..3e142876 100644 --- a/scripts/linux/deploy-admin.sh +++ b/scripts/linux/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.1/publish/appsettings*.json -rm -f ~/BootstrapAdmin/src/admin/Bootstrap.Admin/bin/Release/netcoreapp3.1/publish/BootstrapAdmin.db +rm -f ~/BootstrapAdmin/src/admin/Bootstrap.Admin/bin/Release/net5.0/publish/appsettings*.json +rm -f ~/BootstrapAdmin/src/admin/Bootstrap.Admin/bin/Release/net5.0/publish/BootstrapAdmin.db systemctl stop ba.admin -\cp -fr ~/BootstrapAdmin/src/admin/Bootstrap.Admin/bin/Release/netcoreapp3.1/publish/* /usr/local/ba/admin/ +\cp -fr ~/BootstrapAdmin/src/admin/Bootstrap.Admin/bin/Release/net5.0/publish/* /usr/local/ba/admin/ systemctl start ba.admin systemctl status ba.admin -l diff --git a/scripts/linux/deploy-client.sh b/scripts/linux/deploy-client.sh index b8ec3bae..3a0a9a0e 100644 --- a/scripts/linux/deploy-client.sh +++ b/scripts/linux/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.1/publish/appsettings*.json +rm -f ~/BootstrapAdmin/src/client/Bootstrap.Client/bin/Release/net5.0/publish/appsettings*.json systemctl stop ba.client -\cp -fr ~/BootstrapAdmin/src/client/Bootstrap.Client/bin/Release/netcoreapp3.1/publish/* /usr/local/ba/client/ +\cp -fr ~/BootstrapAdmin/src/client/Bootstrap.Client/bin/Release/net5.0/publish/* /usr/local/ba/client/ systemctl start ba.client systemctl status ba.client -l