Add Modules to build script
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m8s

This commit is contained in:
2026-01-29 14:28:02 +01:00
parent 5dbaa652c5
commit 1b8c00d7df
8 changed files with 33 additions and 6 deletions

View File

@@ -2,6 +2,19 @@
VERSION="$1"
DEBIAN_PACKAGE_PATH="$2"
dotnet restore ./oqtane.framework/Oqtane.slnx
dotnet build -c Release ./oqtane.framework/Oqtane.slnx
dotnet publish -c Release ./oqtane.framework/Oqtane.Server/Oqtane.Server.csproj
for module in $(ls . | grep -E 'Module|Theme')
do
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