Compare commits

...

3 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
8 changed files with 12 additions and 8 deletions

View File

@@ -20,8 +20,6 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: "10.0.x"
- name: "Install nuget"
run: apt install nuget -y
- name: "Build .deb"
run: ./run-build.sh "${{ gitea.ref_name }}" "./alumnihub_10.0_amd64"
- name: "Upload .deb"

View File

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

View File

@@ -9,6 +9,8 @@ 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
echo ""
echo "Building Modules and Themes"
@@ -20,6 +22,8 @@ do
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
echo "Version: ${VERSION}" >> $DEBIAN_PACKAGE_PATH/DEBIAN/control