-
Notifications
You must be signed in to change notification settings - Fork 0
/
publish.sh
executable file
·25 lines (17 loc) · 1.45 KB
/
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
24
25
set -e
rm -rf UnityLauncher.Editor/bin/Release/
dotnet publish UnityLauncher.Editor -c Release -r osx.10.12-x64
mv UnityLauncher.Editor/bin/Release/netcoreapp2.0/osx.10.12-x64/UnityLauncher.Editor.Editor UnityLauncher.Editor/bin/Release/netcoreapp2.0/osx.10.12-x64/UnityLauncher.Editor
dotnet publish UnityLauncher.Editor -c Release -r linux-x64
mv UnityLauncher.Editor/bin/Release/netcoreapp2.0/linux-x64/UnityLauncher.Editor.Editor UnityLauncher.Editor/bin/Release/netcoreapp2.0/linux-x64/UnityLauncher.Editor
dotnet publish UnityLauncher.Editor -c Release -r win10-x64
(cd UnityLauncher.Editor/bin/Release/netcoreapp2.0 && zip -r -X UnityLauncher.Editor.zip .)
mv UnityLauncher.Editor/bin/Release/netcoreapp2.0/UnityLauncher.Editor.zip .
rm -rf UnityLauncher.Player/bin/Release/
dotnet publish UnityLauncher.Player -c Release -r osx.10.12-x64
mv UnityLauncher.Player/bin/Release/netcoreapp2.0/osx.10.12-x64/UnityLauncher.Player.Player UnityLauncher.Player/bin/Release/netcoreapp2.0/osx.10.12-x64/UnityLauncher.Player
dotnet publish UnityLauncher.Player -c Release -r linux-x64
mv UnityLauncher.Player/bin/Release/netcoreapp2.0/linux-x64/UnityLauncher.Player.Player UnityLauncher.Player/bin/Release/netcoreapp2.0/linux-x64/UnityLauncher.Player
dotnet publish UnityLauncher.Player -c Release -r win10-x64
(cd UnityLauncher.Player/bin/Release/netcoreapp2.0 && zip -r -X UnityLauncher.Player.zip .)
mv UnityLauncher.Player/bin/Release/netcoreapp2.0/UnityLauncher.Player.zip .