mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-20 04:05:06 -04:00
Automatic deploy 28994244
This commit is contained in:
parent
dfab41c0f4
commit
92fd530115
3 changed files with 6 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue