Compare commits

...

1 Commits

Author SHA1 Message Date
14cc769418 Fix: rights and embed packages into the APT-Package
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m25s
2026-01-29 23:03:41 +01:00
2 changed files with 6 additions and 3 deletions

View File

@@ -1,2 +1,4 @@
#!/bin/bash
adduser --system alumnihub
adduser --system alumnihub
chown -R alumnihub:root /opt/alumnihub

View File

@@ -6,6 +6,8 @@ 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 -o ./alumnihub_10.0_amd64/opt/alumnihub
mkdir -p ./oqtane.framework/Oqtane.Server/Packages
@@ -20,8 +22,7 @@ do
dotnet publish -c Release ./$module/*.slnx
done
dotnet build -c Release ./oqtane.framework/Oqtane.slnx
dotnet publish -c Release ./oqtane.framework/Oqtane.Server/Oqtane.Server.csproj -o ./alumnihub_10.0_amd64/opt/alumnihub
cp ./oqtane.framework/Oqtane.Server/Packages ./alumnihub_10.0_amd64/opt/alumnihub/Packages
echo $VERSION $DEBIAN_PACKAGE_PATH