Automatic deploy 28994244

This commit is contained in:
Renan LE CARO 2025-02-15 22:24:33 +01:00
parent dfab41c0f4
commit 92fd530115
3 changed files with 6 additions and 5 deletions

View file

@ -5,6 +5,7 @@ set -x
# Replace the version code and name in gradle for fdroid and play store
versionCode=$(($(date +%s) / 60))
# On macOS you should use -i '' not just -i, but i'm on linux
sed -i -e "s/^[[:space:]]*versionCode = .*/ versionCode = $versionCode/" \
-e "s/^[[:space:]]*versionName = .*/ versionName = \"$versionCode\"/" \
./app/build.gradle.kts