New: Add fixProps to bundle all modules correctly
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m3s
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m3s
This commit is contained in:
11
run-build.sh
11
run-build.sh
@@ -2,19 +2,24 @@
|
||||
VERSION="$1"
|
||||
DEBIAN_PACKAGE_PATH="$2"
|
||||
|
||||
echo "Building oqtane.framework"
|
||||
|
||||
dotnet restore ./oqtane.framework/Oqtane.slnx
|
||||
dotnet build ./oqtane.framework/Oqtane.slnx
|
||||
dotnet build -c Release ./oqtane.framework/Oqtane.slnx
|
||||
dotnet publish -c Release ./oqtane.framework/Oqtane.Server/Oqtane.Server.csproj
|
||||
dotnet publish -c Release ./oqtane.framework/Oqtane.Server/Oqtane.Server.csproj -o ./alumnihub_10.0_amd64/opt/alumnihub
|
||||
|
||||
echo ""
|
||||
echo "Building Modules and Themes"
|
||||
|
||||
for module in $(ls . | grep -E 'Module|Theme')
|
||||
do
|
||||
echo "######## Building $module"
|
||||
dotnet restore ./$module/*.slnx
|
||||
dotnet build -c Release ./$module/*.slnx
|
||||
dotnet publish -c Release ./$module/*.slnx
|
||||
done
|
||||
|
||||
|
||||
|
||||
echo $VERSION $DEBIAN_PACKAGE_PATH
|
||||
|
||||
echo "Version: ${VERSION}" >> $DEBIAN_PACKAGE_PATH/DEBIAN/control
|
||||
|
||||
Reference in New Issue
Block a user