Skip to content
Snippets Groups Projects
Verified Commit 6d2c0f3f authored by Ruben van Dijk's avatar Ruben van Dijk
Browse files

auto-update version.

parent fbe23d8d
Branches
No related tags found
No related merge requests found
Pipeline #1967 passed
......@@ -9,6 +9,8 @@ android:
paths:
- .gradle
script:
- sed -i "s/versionCode 1/versionCode ${CI_PIPELINE_IID}/g" app/build.gradle
- sed -i "s/versionName \"UNKNOWN\"/versionName \"${CI_PIPELINE_IID}-${CI_COMMIT_SHORT_SHA}\"/g" app/build.gradle
- echo $KEYSTORE_FILE | base64 -d > my.jks
- ./gradlew app:assembleRelease
-Pandroid.injected.signing.store.file=$(pwd)/my.jks
......
......@@ -11,7 +11,7 @@ android {
minSdk 23
targetSdk 32
versionCode 1
versionName "1.0"
versionName "UNKNOWN"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
......@@ -43,4 +43,4 @@ dependencies {
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.1'
implementation 'com.google.code.gson:gson:2.9.1'
}
build.dependsOn(":core:build")
\ No newline at end of file
build.dependsOn(":core:build")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment