fix flatpak and appimage build

This commit is contained in:
BeatLink 2019-07-26 20:17:11 -05:00
parent a5f9d0a8d1
commit 3dfc48697b
2 changed files with 7 additions and 6 deletions

View file

@ -39,7 +39,7 @@ Build Flatpak:
tags:
- gitlab-org
script:
- ./browser/linux/flatpak/build_flatpak.sh
- ./browser/linux/flatpak/build_flatpak.sh $BINARY_TARBALL $FLATPAK_REPO $FLATPAK_BUNDLE
artifacts:
name: "Librewolf-$CI_COMMIT_REF_NAME-Linux-Flatpak"
paths:

View file

@ -7,12 +7,13 @@ set -e;
# Sets up script variables
BINARY_TARBALL=$1
APPIMAGE_FILE=$2
_BINARY_TARBALL_EXTRACTED_FOLDER=./librewolf;
_BUILD_APPIMAGE_FILE=./LibreWolf*.AppImage;
SCRIPT_FOLDER=$(realpath $(dirname $0));
_BINARY_TARBALL_EXTRACTED_FOLDER=$SCRIPT_FOLDER/librewolf;
_BUILD_APPIMAGE_FILE=$SCRIPT_FOLDER/LibreWolf*.AppImage;
_APPIMAGETOOL_DOWNLOAD_URL=https://github.com/AppImage/AppImageKit/releases/latest/download/appimagetool-x86_64.AppImage;
_APPIMAGETOOL_EXTRACTED_FOLDER=./squashfs-root;
_APPIMAGETOOL_FILE=./appimagetool;
_APPIMAGE_CONTENT_FOLDER=./content
_APPIMAGETOOL_EXTRACTED_FOLDER=$SCRIPT_FOLDER/squashfs-root;
_APPIMAGETOOL_FILE=$SCRIPT_FOLDER/appimagetool;
_APPIMAGE_CONTENT_FOLDER=$SCRIPT_FOLDER/content
# Extracts the binary tarball
printf "\nExtracting librewolf binary tarball\n";