Fix all builds
This commit is contained in:
parent
1dde2d0e7f
commit
492249e80d
|
@ -11,13 +11,16 @@ Build Linux Packages:
|
||||||
- ./build.sh
|
- ./build.sh
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- "browser/linux/LibreWolf.tar.bz2"
|
- "LibreWolf.tar.bz2"
|
||||||
|
- "LibreWolf.AppImage"
|
||||||
|
- "librewolf-flatpak-repo"
|
||||||
|
- "LibreWolf.flatpak"
|
||||||
|
|
||||||
Release to Gitlab:
|
Release to Gitlab:
|
||||||
stage: Release
|
stage: Release
|
||||||
image: python3
|
image: python3
|
||||||
script:
|
script:
|
||||||
- pip3 install gitlab-release
|
- pip3 install gitlab-release
|
||||||
- gitlab-release browser/linux/build_output/*
|
- gitlab-release LibreWolf.tar.bz2 LibreWolf.AppImage librewolf-flatpak-repo LibreWolf.flatpak
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
|
|
|
@ -34,7 +34,7 @@ rm -rf $_APPIMAGETOOL_EXTRACTED_FOLDER;
|
||||||
chmod +x $_BUILD_APPIMAGE_FILE;
|
chmod +x $_BUILD_APPIMAGE_FILE;
|
||||||
|
|
||||||
# Move AppImage to specified location
|
# Move AppImage to specified location
|
||||||
printf "\nMoving AppImage to build_output folder\n";
|
printf "\nMoving AppImage to specified location\n";
|
||||||
mv $_BUILD_APPIMAGE_FILE $APPIMAGE_FILE;
|
mv $_BUILD_APPIMAGE_FILE $APPIMAGE_FILE;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ tar -xvf $BINARY_TARBALL;
|
||||||
|
|
||||||
# Adds the librefox config files to the packaged tarball
|
# Adds the librefox config files to the packaged tarball
|
||||||
printf "\nCopying librewolf settings to extracted binary tarball\n";
|
printf "\nCopying librewolf settings to extracted binary tarball\n";
|
||||||
cp -r $SETTINGS_FOLDER $_EXTRACTED_TARBALL_FOLDER$/settings;
|
cp -r $SETTINGS_FOLDER $_EXTRACTED_TARBALL_FOLDER/settings;
|
||||||
cp $LAUNCHER_SCRIPT $_EXTRACTED_TARBALL_FOLDER/launch_librewolf.sh;
|
cp $LAUNCHER_SCRIPT $_EXTRACTED_TARBALL_FOLDER/launch_librewolf.sh;
|
||||||
|
|
||||||
# Repacks the binary tarball
|
# Repacks the binary tarball
|
||||||
|
|
|
@ -20,14 +20,14 @@ _FLATPAK_BUILD_FOLDER=build-dir;
|
||||||
# Install flatpak
|
# Install flatpak
|
||||||
printf "\nInstalling flatpak\n";
|
printf "\nInstalling flatpak\n";
|
||||||
echo $_APT_REPO >> $_APT_SOURCE_LIST;
|
echo $_APT_REPO >> $_APT_SOURCE_LIST;
|
||||||
apt update && apt install -y gnupg2 && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $_APT_REPO_KEY;
|
apt-get -qq update && apt-get -qqy install gnupg2 && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $_APT_REPO_KEY;
|
||||||
apt update;
|
apt-get -qq update;
|
||||||
apt install -y $_APT_PACKAGES_TO_INSTALL;
|
apt-get -qqy install $_APT_PACKAGES_TO_INSTALL;
|
||||||
|
|
||||||
# Install build dependencies
|
# Install build dependencies
|
||||||
printf "\nInstalling flatpak build dependencies\n";
|
printf "\nInstalling flatpak build dependencies\n";
|
||||||
flatpak remote-add --if-not-exists $_FLATHUB_REPO;
|
flatpak remote-add --if-not-exists $_FLATHUB_REPO;
|
||||||
flatpak install -y $_FLATHUB_PACKAGES_TO_INSTALL;
|
flatpak install -y flathub $_FLATHUB_PACKAGES_TO_INSTALL;
|
||||||
|
|
||||||
# Extracts the binary tarball
|
# Extracts the binary tarball
|
||||||
printf "\nExtracting librewolf binary tarball\n";
|
printf "\nExtracting librewolf binary tarball\n";
|
||||||
|
@ -35,7 +35,7 @@ tar -xvf $BINARY_TARBALL;
|
||||||
|
|
||||||
# Prepare for flatpak build
|
# Prepare for flatpak build
|
||||||
printf "\nPreparing files for flatpak build\n";
|
printf "\nPreparing files for flatpak build\n";
|
||||||
mkdir $_FLATPAK_BUILD_SOURCE_FOLDER && mv -r $_EXTRACTED_BINARY_TARBALL_FOLDER $_FLATPAK_BUILD_SOURCE_FOLDER/librewolf;
|
mkdir $_FLATPAK_BUILD_SOURCE_FOLDER && mv $_EXTRACTED_BINARY_TARBALL_FOLDER $_FLATPAK_BUILD_SOURCE_FOLDER/librewolf;
|
||||||
|
|
||||||
# Build Repo and standalone bundle
|
# Build Repo and standalone bundle
|
||||||
printf "\nBuilding flatpak repository and bundle\n";
|
printf "\nBuilding flatpak repository and bundle\n";
|
||||||
|
|
Loading…
Reference in a new issue