Commit 6d5f0ba6 authored by Robin Eschbach's avatar Robin Eschbach
Browse files

[FIX #464] permissions and appimage build

parent fb4b19c6
......@@ -101,13 +101,21 @@ buildAndTestDebug:
buildAppImage:
stage: Build_appimage_stage
image: ladbukkit/openwalnut_build_environment:1.2
image: appimagecrafters/appimage-builder:0.8.8
script:
- pwd
- cd tools/AppImage
- mkdir -p tools/AppImage/AppImageBuild
- rm -rf tools/AppImage/AppImageBuild/AppDir
- cd build/release
- pwd
- ls
- make install DESTDIR=../../tools/AppImage/AppImageBuild/AppDir
- pwd
- cd ../../tools/AppImage
- pwd
- ls
- ./appimage.sh build
- chmod +x appimage.sh
- ./appimage.sh package
uploadArtifacts:
stage: Upload_artifacts_stage
......@@ -117,4 +125,5 @@ uploadArtifacts:
- cd tools/upload
- pwd
- ls
- chmod +x seafile.sh
- ./seafile.sh
......@@ -29,7 +29,7 @@ BUILD_DIR=AppImageBuild
Build()
{
echo "* Creating build folder"
mkdir $BUILD_DIR
mkdir -p $BUILD_DIR
cd $BUILD_DIR
echo "* Configure build system"
......@@ -100,6 +100,7 @@ UsageExit()
echo " COMMANDS:"
echo " clean: removes created build sub-directories"
echo " build: does the building and packaging."
echo " package: only packages"
echo ""
exit 2
}
......@@ -112,6 +113,9 @@ case "$1" in
build)
BuildAll || exit $?
;;
package)
Package || exit $?
;;
*)
UsageExit
;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment