mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-20 12:15:06 -04:00
wip
This commit is contained in:
parent
d38f63b810
commit
b29b08ed23
2 changed files with 5 additions and 3 deletions
|
@ -1,8 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
set -x
|
||||
|
||||
# Replace the version code and name in gradle for fdroid and play store
|
||||
versionCode=$(($(date +%s) / 60))
|
||||
|
||||
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