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: ...@@ -101,13 +101,21 @@ buildAndTestDebug:
buildAppImage: buildAppImage:
stage: Build_appimage_stage stage: Build_appimage_stage
image: ladbukkit/openwalnut_build_environment:1.2 image: appimagecrafters/appimage-builder:0.8.8
script: script:
- pwd - 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 - pwd
- ls - ls
- ./appimage.sh build - chmod +x appimage.sh
- ./appimage.sh package
uploadArtifacts: uploadArtifacts:
stage: Upload_artifacts_stage stage: Upload_artifacts_stage
...@@ -117,4 +125,5 @@ uploadArtifacts: ...@@ -117,4 +125,5 @@ uploadArtifacts:
- cd tools/upload - cd tools/upload
- pwd - pwd
- ls - ls
- chmod +x seafile.sh
- ./seafile.sh - ./seafile.sh
...@@ -29,7 +29,7 @@ BUILD_DIR=AppImageBuild ...@@ -29,7 +29,7 @@ BUILD_DIR=AppImageBuild
Build() Build()
{ {
echo "* Creating build folder" echo "* Creating build folder"
mkdir $BUILD_DIR mkdir -p $BUILD_DIR
cd $BUILD_DIR cd $BUILD_DIR
echo "* Configure build system" echo "* Configure build system"
...@@ -100,6 +100,7 @@ UsageExit() ...@@ -100,6 +100,7 @@ UsageExit()
echo " COMMANDS:" echo " COMMANDS:"
echo " clean: removes created build sub-directories" echo " clean: removes created build sub-directories"
echo " build: does the building and packaging." echo " build: does the building and packaging."
echo " package: only packages"
echo "" echo ""
exit 2 exit 2
} }
...@@ -112,6 +113,9 @@ case "$1" in ...@@ -112,6 +113,9 @@ case "$1" in
build) build)
BuildAll || exit $? BuildAll || exit $?
;; ;;
package)
Package || exit $?
;;
*) *)
UsageExit 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