#!/bin/bash set -e # compiler tout dotnet build -c Release dotnet publish -c Release -f netcoreapp2.1 src/isnd # MAJ du serveur sudo systemctl stop isnd sudo cp -a src/isnd/bin/Release/netcoreapp2.1/publish/* /srv/www/isnd sudo systemctl start isnd # MAJ du client sudo cp -a src/isn/bin/Release/netcoreapp2.1/* /usr/local/lib/isn sudo chown -R root.root /usr/local/lib/isn