Build 29062849

This commit is contained in:
Renan LE CARO 2025-04-04 14:49:44 +02:00
parent 48695fd3d9
commit ec178e393d
6 changed files with 20 additions and 11 deletions

View file

@ -29,8 +29,8 @@ android {
applicationId = "me.lecaro.breakout"
minSdk = 21
targetSdk = 34
versionCode = 29062687
versionName = "29062687"
versionCode = 29062849
versionName = "29062849"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
useSupportLibrary = true

File diff suppressed because one or more lines are too long

View file

@ -19,6 +19,9 @@ fi
set -e
set -x
# clear output folders first, so that they are empty for failed builds
rm -rf ./build/*
rm -rf ./app/src/main/assets/*
@ -40,12 +43,18 @@ find -name '*.jp*g' -o -name '*.png' | xargs exiftool -all= -overwrite_original
npx prettier --write src/
npx jest
rm -rf build/*
# Actual js app build
npx parcel build src/index.html --dist-dir build
rm -rf ./app/src/main/assets/*
# Add public files to the web version, but not to the apk
cp public/* build
rm -rf ./app/src/main/assets/*
# Add only index.html file to the apk, it should be enough
cp build/index.html ./app/src/main/assets/
# generate signed apk
./gradlew assembleRelease
# generate signed apk for itch.io
./gradlew assembleRelease
# generate signed bundle for play store
./gradlew bundleRelease

2
dist/index.html vendored
View file

@ -1494,7 +1494,7 @@ const upgrades = (0, _upgrades.rawUpgrades).map((u)=>({
}));
},{"./data/palette.json":"ktRBU","./data/levels.json":"8JSUc","./data/version.json":"iyP6E","./upgrades":"1u3Dx","./getLevelBackground":"7OIPf","./levelIcon":"6rQoT","@parcel/transformer-js/src/esmodule-helpers.js":"gkKU3"}],"iyP6E":[function(require,module,exports,__globalThis) {
module.exports = JSON.parse("\"29062687\"");
module.exports = JSON.parse("\"29062849\"");
},{}],"1u3Dx":[function(require,module,exports,__globalThis) {
var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

View file

@ -1,5 +1,5 @@
// The version of the cache.
const VERSION = "29062687";
const VERSION = "29062849";
// The name of the cache
const CACHE_NAME = `breakout-71-${VERSION}`;

View file

@ -1 +1 @@
"29062687"
"29062849"