Files
IronFox/scripts/ci-build.sh
celenity ff0309e614 IronFox v148.0
ironfox-oss/IronFox!127
# IronFox 148.0
____

## Changes

- Updated to Firefox [`148.0`](https://firefox.com/firefox/android/148.0/releasenotes/).
- Updated to Phoenix [`2026.02.23.1`](https://codeberg.org/celenity/Phoenix/releases/tag/2026.02.23.1).
- Minor tweaks, fixes, and enhancements.

MR-author: celenity <celenity@celenity.dev>
Co-authored-by: Weblate <hosted@weblate.org>
Approved-by: Akash Yadav <itsaky01@gmail.com>
Merged-by: celenity <celenity@celenity.dev>
2026-02-26 18:04:16 +00:00

51 lines
1.1 KiB
Bash
Executable File

#!/bin/bash
## This script is expected to be executed in a CI environment, or possibly in our Docker image instance
## DO NOT execute this manually!
set -eu
set -o pipefail
set -o xtrace
source $(dirname $0)/utilities.sh
case "${BUILD_VARIANT}" in
arm64|arm|x86_64|bundle)
;;
*)
echo_red_text "Unknown build variant: '${BUILD_VARIANT}'." >&2
exit 1
;;
esac
export IRONFOX_CI=1
if [[ "${CI_COMMIT_REF_NAME}" == "${PRODUCTION_BRANCH}" ]]; then
# Target release
export IRONFOX_RELEASE=1
fi
# Set-up our environment
bash -x $(dirname $0)/env.sh
source $(dirname $0)/env.sh
# Fail-fast in case the signing key is unavailable or empty file
if ! [[ -f "${IRONFOX_KEYSTORE}" ]]; then
echo_red_text "ERROR: Keystore file ${IRONFOX_KEYSTORE} does not exist!"
exit 1
fi
if ! [[ -s "${IRONFOX_KEYSTORE}" ]]; then
echo_red_text "ERROR: Keystore file ${IRONFOX_KEYSTORE} is empty!"
exit 1
fi
# Get sources
bash -x "${IRONFOX_SCRIPTS}/get_sources.sh"
# Prepare sources
bash -x "${IRONFOX_SCRIPTS}/prebuild.sh"
# Build
bash -x "${IRONFOX_SCRIPTS}/build.sh" "${BUILD_VARIANT}"