<commit_before>#!/usr/bin/env bash

. secrets/android/release.conf

NPM_VERSION=$(node -p -e "require('./package.json').version")
export VERSION_CODE=$(git rev-list --count HEAD)
export VERSION_NAME=${TRAVIS_TAG:-$NPM_VERSION}
echo "RELEASING ANDROID VERSION: $VERSION_NAME VERSION CODE: $VERSION_CODE"

cp secrets/android/my-release-key.keystore android/app/my-release-key.keystore
cp secrets/android/service-account-credentials.json android/app/service-account-credentials.json

cd android && ./gradlew assembleRelease && ./gradlew publishApkRelease<commit_msg>feat: disable publish<commit_after>#!/usr/bin/env bash

. secrets/android/release.conf

NPM_VERSION=$(node -p -e "require('./package.json').version")
export VERSION_CODE=$(git rev-list --count HEAD)
export VERSION_NAME=${TRAVIS_TAG:-$NPM_VERSION}
echo "Would have beeen RELEASING ANDROID VERSION: $VERSION_NAME VERSION CODE: $VERSION_CODE"

cp secrets/android/my-release-key.keystore android/app/my-release-key.keystore
cp secrets/android/service-account-credentials.json android/app/service-account-credentials.json

cd android && ./gradlew assembleRelease
# && ./gradlew publishApkRelease
{'fraction_non_alphanumeric': 0.13356461405030357, 'fraction_numerical': 0.0, 'mean_word_length': 5.828402366863905, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6135085', 'n_tokens_mistral': 384, 'n_tokens_neox': 373, 'n_words': 72}