Merge pull request #903 from AppImage/extract_fs_tree_section_recursive
[appimagekit/gsi.git] / travis / build-appimage.sh
blobb330b7ba1d18522dfe3a53a419e2561bc016765e
1 #! /bin/bash
3 set -e
5 cd /AppImageKit/build
7 cd out/
9 if [ "TRAVIS_PULL_REQUEST" == "false" ] ; then
10 # Sign only when NOT on a pull request
11 ./appimagetool.AppDir/AppRun ./appimagetool.AppDir/ -s -v \
12 -u "gh-releases-zsync|AppImage|AppImageKit|continuous|appimagetool-$ARCH.AppImage.zsync" \
13 appimagetool-"$ARCH".AppImage
14 else
15 # Do not attempt to sign (it would fail ayway)
16 ./appimagetool.AppDir/AppRun ./appimagetool.AppDir/ -v \
17 -u "gh-releases-zsync|AppImage|AppImageKit|continuous|appimagetool-$ARCH.AppImage.zsync" \
18 appimagetool-"$ARCH".AppImage