mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-20 04:05:06 -04:00
wip
This commit is contained in:
parent
d38f63b810
commit
b29b08ed23
2 changed files with 5 additions and 3 deletions
|
@ -15,8 +15,8 @@ android {
|
|||
applicationId = "me.lecaro.breakout"
|
||||
minSdk = 21
|
||||
targetSdk = 34
|
||||
versionCode = 28994240
|
||||
versionName = "28994240"
|
||||
versionCode = 28994242
|
||||
versionName = "28994242"
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables {
|
||||
useSupportLibrary = true
|
||||
|
|
|
@ -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