forked from sec/dotnet-core-freebsd-source-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild_installer_without_aspnet.sh
executable file
·14 lines (10 loc) · 1.1 KB
/
build_installer_without_aspnet.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
mkdir -p installer/artifacts/obj/redist/Release/downloads/
mkdir -p aspnetcore/artifacts/packages/Release/Shipping
if [ ! -f installer/artifacts/obj/redist/Release/downloads/dotnet-toolset-internal-6.0.100-rtm.21527.8.zip ]; then
wget https://dotnetcli.blob.core.windows.net/dotnet/Sdk/6.0.100-rtm.21527.8/dotnet-toolset-internal-6.0.100-rtm.21527.8.zip -O installer/artifacts/obj/redist/Release/downloads/dotnet-toolset-internal-6.0.100-rtm.21527.8.zip
wget https://dotnetcli.blob.core.windows.net/dotnet/Sdk/6.0.101-servicing.21569.16/dotnet-toolset-internal-6.0.101-servicing.21569.16.zip -O installer/artifacts/obj/redist/Release/downloads/dotnet-toolset-internal-6.0.101-servicing.21569.16.zip
fi
cp runtime/artifacts/packages/Release/Shipping/dotnet-runtime-*-freebsd-x64.tar.gz installer/artifacts/obj/redist/Release/downloads/
cp sdk/artifacts/packages/Release/NonShipping/dotnet-toolset-internal-*.zip installer/artifacts/obj/redist/Release/downloads/
installer/build.sh -c Release -ci -pack --runtime-id freebsd-x64 /p:OSName=freebsd /p:OfficialBuildId=20211229.99 /p:IncludeAspNetCoreRuntime=false