Compare commits
5 Commits
0.0.1-oqta
...
0.0.1-oqta
| Author | SHA1 | Date | |
|---|---|---|---|
| 568bbb5b5e | |||
| 14cc769418 | |||
| 76feb7615d | |||
| c3d521e5a0 | |||
| b7b950d4ac |
@@ -20,9 +20,6 @@ jobs:
|
|||||||
uses: actions/setup-dotnet@v4
|
uses: actions/setup-dotnet@v4
|
||||||
with:
|
with:
|
||||||
dotnet-version: "10.0.x"
|
dotnet-version: "10.0.x"
|
||||||
- uses: nuget/setup-nuget@v2
|
|
||||||
with:
|
|
||||||
nuget-version: '6.x'
|
|
||||||
- name: "Build .deb"
|
- name: "Build .deb"
|
||||||
run: ./run-build.sh "${{ gitea.ref_name }}" "./alumnihub_10.0_amd64"
|
run: ./run-build.sh "${{ gitea.ref_name }}" "./alumnihub_10.0_amd64"
|
||||||
- name: "Upload .deb"
|
- name: "Upload .deb"
|
||||||
|
|||||||
Submodule Module.AdminModules updated: 46af683546...a94527f294
Submodule Module.EventRegistration updated: e22d360425...0a3890e411
Submodule Module.HallOfFame updated: 26e05710b3...7d11271d7c
Submodule Module.PremiumArea updated: a1b5d0371d...4a1d334a5c
Submodule Theme.SZUAbsolventenverein updated: b5e8a436b4...481544069a
@@ -1,2 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
adduser --system alumnihub
|
adduser --system alumnihub
|
||||||
|
|
||||||
|
chown -R alumnihub:root /opt/alumnihub
|
||||||
14
run-build.sh
14
run-build.sh
@@ -5,9 +5,11 @@ DEBIAN_PACKAGE_PATH="$2"
|
|||||||
echo "Building oqtane.framework"
|
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 --no-restore
|
||||||
dotnet build -c Release ./oqtane.framework/Oqtane.slnx
|
dotnet build -c Release ./oqtane.framework/Oqtane.slnx --no-restore
|
||||||
dotnet publish -c Release ./oqtane.framework/Oqtane.Server/Oqtane.Server.csproj -o ./alumnihub_10.0_amd64/opt/alumnihub
|
dotnet publish -c Release ./oqtane.framework/Oqtane.Server/Oqtane.Server.csproj -o ./alumnihub_10.0_amd64/opt/alumnihub --no-restore
|
||||||
|
|
||||||
|
mkdir -p ./oqtane.framework/Oqtane.Server/Packages
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Building Modules and Themes"
|
echo "Building Modules and Themes"
|
||||||
@@ -16,10 +18,12 @@ for module in $(ls . | grep -E 'Module|Theme')
|
|||||||
do
|
do
|
||||||
echo "######## Building $module"
|
echo "######## Building $module"
|
||||||
dotnet restore ./$module/*.slnx
|
dotnet restore ./$module/*.slnx
|
||||||
dotnet build -c Release ./$module/*.slnx
|
dotnet build -c Release ./$module/*.slnx --no-restore
|
||||||
dotnet publish -c Release ./$module/*.slnx
|
dotnet publish -c Release ./$module/*.slnx --no-restore
|
||||||
done
|
done
|
||||||
|
|
||||||
|
cp -r ./oqtane.framework/Oqtane.Server/Packages ./alumnihub_10.0_amd64/opt/alumnihub/Packages
|
||||||
|
|
||||||
echo $VERSION $DEBIAN_PACKAGE_PATH
|
echo $VERSION $DEBIAN_PACKAGE_PATH
|
||||||
|
|
||||||
echo "Version: ${VERSION}" >> $DEBIAN_PACKAGE_PATH/DEBIAN/control
|
echo "Version: ${VERSION}" >> $DEBIAN_PACKAGE_PATH/DEBIAN/control
|
||||||
|
|||||||
Reference in New Issue
Block a user