forked from SeriaWei/ZKEACMS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Publish.sh
23 lines (21 loc) · 990 Bytes
/
Publish.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
echo "-----------------------------------------------------------------------------"
echo "*** Welcome to use ZKEACMS ***"
echo "-----------------------------------------------------------------------------"
echo T"his tool will help you to publish ZKEACMS"
echo "License"
echo "http://www.zkea.net/licenses"
echo "-----------------------------------------------------------------------------"
echo "Deploy"
echo "http://www.zkea.net/zkeacms/document/deploy/core"
echo "-----------------------------------------------------------------------------"
echo "RID details"
echo "https://docs.microsoft.com/en-us/dotnet/core/rid-catalog"
echo "-----------------------------------------------------------------------------"
echo "Notice: Application will publish to folder(src/ZKEACMS.WebHost/bin/Release/PublishOutput)"
read -p "Press enter to continue"
dotnet restore
cd src/ZKEACMS.WebHost
export PATH="$PATH:/root/.dotnet/tools"
dotnet tool restore
dotnet tool run publish-zkeacms