Skip to content

Commit

Permalink
HM
Browse files Browse the repository at this point in the history
  • Loading branch information
strseb committed Sep 20, 2022
1 parent c625264 commit 7d1bec1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/android/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
if [ -f .env ]; then
. .env
fi
set -x


JOBS=8
QTPATH=
Expand Down Expand Up @@ -130,11 +132,12 @@ git apply --directory="android/src/" "3rdparty/adjust_https_to_http.diff" || die
print Y "Compile Sentry..."
cmake -B .tmp/sentry_build -S 3rdparty/sentry_native --toolchain ${ANDROID_NDK_ROOT}/build/cmake/android.toolchain.cmake \
-DSENTRY_BUILD_SHARED_LIBS=false \
-DANDROID_ABI=${ARCH}
-DANDROID_ABI=${ARCH} || die "Failed to generate the sentry project"

cmake --build .tmp/sentry_build --parallel
cmake --install .tmp/sentry_build --prefix .tmp/sentry_install --config RelWithDebInfo


printn Y "Computing the version... "
export SHORTVERSION=$(cat version.pri | grep VERSION | grep defined | cut -d= -f2 | tr -d \ ) # Export so gradle can pick it up
export VERSIONCODE=$(date +%s | sed 's/.\{3\}$//' )"0" #Remove the last 3 digits of the timestamp, so we only get every ~16m a new versioncode
Expand Down

0 comments on commit 7d1bec1

Please sign in to comment.