Compare commits

...

6 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
76feb7615d Create Oqtane.Server/Packages folder in pipeline
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m52s
2026-01-29 22:37:26 +01:00
c3d521e5a0 Use: dotnet pack instead of nuget pack...
Some checks failed
build-debian-package / Build the debian package (push) Has been cancelled
2026-01-29 22:31:02 +01:00
b7b950d4ac Install nuget
Some checks failed
build-debian-package / Build the debian package (push) Failing after 30s
2026-01-29 21:44:53 +01:00
4fd49d0ea0 Add: nuget into pipeline
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m35s
2026-01-29 21:38:43 +01:00
458514e04b New: Add fixProps to bundle all modules correctly
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m3s
2026-01-29 21:32:18 +01:00
9 changed files with 23 additions and 8 deletions

3
.gitmodules vendored
View File

@@ -19,3 +19,6 @@
[submodule "Module.PremiumArea"]
path = Module.PremiumArea
url = https://git.kocoder.xyz/Diplomarbeit-Absolventenverein/Module.PremiumArea.git
[submodule "fixProps"]
path = fixProps
url = https://github.com/oqtane/oqtane.FixProps

View File

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

1
fixProps Submodule

Submodule fixProps added at 10f645be52

View File

@@ -2,18 +2,27 @@
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
mkdir -p ./oqtane.framework/Oqtane.Server/Packages
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
cp ./oqtane.framework/Oqtane.Server/Packages ./alumnihub_10.0_amd64/opt/alumnihub/Packages
echo $VERSION $DEBIAN_PACKAGE_PATH