Fix: rights and embed packages into the APT-Package
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m25s
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m25s
This commit is contained in:
@@ -1,2 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
adduser --system alumnihub
|
adduser --system alumnihub
|
||||||
|
|
||||||
|
chown -R alumnihub:root /opt/alumnihub
|
||||||
@@ -6,6 +6,8 @@ echo "Building oqtane.framework"
|
|||||||
|
|
||||||
dotnet restore ./oqtane.framework/Oqtane.slnx
|
dotnet restore ./oqtane.framework/Oqtane.slnx
|
||||||
dotnet build ./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
|
mkdir -p ./oqtane.framework/Oqtane.Server/Packages
|
||||||
|
|
||||||
@@ -20,8 +22,7 @@ do
|
|||||||
dotnet publish -c Release ./$module/*.slnx
|
dotnet publish -c Release ./$module/*.slnx
|
||||||
done
|
done
|
||||||
|
|
||||||
dotnet build -c Release ./oqtane.framework/Oqtane.slnx
|
cp ./oqtane.framework/Oqtane.Server/Packages ./alumnihub_10.0_amd64/opt/alumnihub/Packages
|
||||||
dotnet publish -c Release ./oqtane.framework/Oqtane.Server/Oqtane.Server.csproj -o ./alumnihub_10.0_amd64/opt/alumnihub
|
|
||||||
|
|
||||||
echo $VERSION $DEBIAN_PACKAGE_PATH
|
echo $VERSION $DEBIAN_PACKAGE_PATH
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user