Merge branch 'appimagetool/master' into dont-use-sighup
[appimagekit.git] / travis / build-appimage.sh
blob751943b8b5584f56c75226db07eae970e5796d65
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