Compare commits

..

6 Commits

Author SHA1 Message Date
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
1b8c00d7df Add Modules to build script
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m8s
2026-01-29 14:28:02 +01:00
5dbaa652c5 Update: aspnetcore-runtime-dependency
All checks were successful
build-debian-package / Build the debian package (push) Successful in 2m57s
2026-01-21 09:04:38 +01:00
10 changed files with 43 additions and 7 deletions

View File

@@ -20,12 +20,6 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: "10.0.x"
- name: "Oqtane Framework restore"
run: dotnet restore ./oqtane.framework/Oqtane.slnx --verbosity detailed
- name: "Oqtane Framework bauen"
run: dotnet build -c Release ./oqtane.framework/Oqtane.slnx
- name: "Oqtane Framework publish"
run: dotnet publish -c Release ./oqtane.framework/Oqtane.Server/Oqtane.Server.csproj -o ./alumnihub_10.0_amd64/opt/alumnihub
- name: "Build .deb"
run: ./run-build.sh "${{ gitea.ref_name }}" "./alumnihub_10.0_amd64"
- name: "Upload .deb"

18
.gitmodules vendored
View File

@@ -4,3 +4,21 @@
[submodule "oqtane.framework"]
path = oqtane.framework
url = https://git.kocoder.xyz/Diplomarbeit-Absolventenverein/oqtane.framework.git
[submodule "Module.AdminModules"]
path = Module.AdminModules
url = https://git.kocoder.xyz/Diplomarbeit-Absolventenverein/Module.AdminModules.git
[submodule "Theme.SZUAbsolventenverein"]
path = Theme.SZUAbsolventenverein
url = https://git.kocoder.xyz/Diplomarbeit-Absolventenverein/Theme.SZUAbsolventenverein.git
[submodule "Module.EventRegistration"]
path = Module.EventRegistration
url = https://git.kocoder.xyz/Diplomarbeit-Absolventenverein/Module.EventRegistration.git
[submodule "Module.HallOfFame"]
path = Module.HallOfFame
url = https://git.kocoder.xyz/Diplomarbeit-Absolventenverein/Module.HallOfFame.git
[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

1
Module.AdminModules Submodule

Submodule Module.AdminModules added at a94527f294

1
Module.HallOfFame Submodule

Submodule Module.HallOfFame added at 7d11271d7c

1
Module.PremiumArea Submodule

Submodule Module.PremiumArea added at 4a1d334a5c

View File

@@ -2,6 +2,6 @@ Package: alumnihub
Architecture: amd64
Essential: no
Priority: optional
Depends: aspnetcore-runtime-9.0,nginx,postgresql-18
Depends: aspnetcore-runtime-10.0,nginx,postgresql-18
Maintainer: kocoder
Description: Our production oqtane setup

1
fixProps Submodule

Submodule fixProps added at 10f645be52

View File

@@ -2,6 +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 -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