diff --git a/deploy-admin.sh b/deploy-admin.sh index 746df40a..b52f9179 100644 --- a/deploy-admin.sh +++ b/deploy-admin.sh @@ -4,8 +4,10 @@ cd ~/BootstrapAdmin git pull dotnet publish src/admin/Bootstrap.Admin -c Release -rm -f ~/BootstrapAdmin/src/admin/Bootstrap.Admin/bin/Release/netcoreapp2.2/publish/appsettings*.json +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 + systemctl stop ba.admin -\cp -fr ~/BootstrapAdmin/src/admin/Bootstrap.Admin/bin/Release/netcoreapp2.2/publish/* /usr/local/ba/admin/ +\cp -fr ~/BootstrapAdmin/src/admin/Bootstrap.Admin/bin/Release/netcoreapp3.0/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 8c6ea577..172f8e72 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/netcoreapp2.2/publish/appsettings*.json +rm -f ~/BootstrapAdmin/src/client/Bootstrap.Client/bin/Release/netcoreapp3.0/publish/appsettings*.json systemctl stop ba.client -\cp -fr ~/BootstrapAdmin/src/client/Bootstrap.Client/bin/Release/netcoreapp2.2/publish/* /usr/local/ba/client/ +\cp -fr ~/BootstrapAdmin/src/client/Bootstrap.Client/bin/Release/netcoreapp3.0/publish/* /usr/local/ba/client/ systemctl start ba.client systemctl status ba.client -l