Make Packages copy recursive
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m44s
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m44s
This commit is contained in:
12
run-build.sh
12
run-build.sh
@@ -5,9 +5,9 @@ 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
|
mkdir -p ./oqtane.framework/Oqtane.Server/Packages
|
||||||
|
|
||||||
@@ -18,11 +18,11 @@ 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 ./oqtane.framework/Oqtane.Server/Packages ./alumnihub_10.0_amd64/opt/alumnihub/Packages
|
cp -r ./oqtane.framework/Oqtane.Server/Packages ./alumnihub_10.0_amd64/opt/alumnihub/Packages
|
||||||
|
|
||||||
echo $VERSION $DEBIAN_PACKAGE_PATH
|
echo $VERSION $DEBIAN_PACKAGE_PATH
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user