Makefile: fix version name propagation, bump Android version code

Signed-off-by: Elias Naur <mail@eliasnaur.com>
pull/3/head v0.1.11
Elias Naur 4 years ago
parent 541e3431f6
commit 42a327e5e5

@ -23,7 +23,7 @@ $(DEBUG_APK): aar
mv android/build/outputs/apk/debug/android-debug.apk $@ mv android/build/outputs/apk/debug/android-debug.apk $@
$(RELEASE_AAB): aar $(RELEASE_AAB): aar
(cd android && VERSION_LONG=$(VERSION_LONG) ./gradlew bundleRelease) (cd android && VERSION=$(VERSION_LONG) ./gradlew bundleRelease)
mv ./android/build/outputs/bundle/release/android-release.aab $@ mv ./android/build/outputs/bundle/release/android-release.aab $@
release: $(RELEASE_AAB) release: $(RELEASE_AAB)

@ -25,7 +25,7 @@ android {
defaultConfig { defaultConfig {
minSdkVersion 23 minSdkVersion 23
targetSdkVersion 29 targetSdkVersion 29
versionCode 11 versionCode 12
versionName System.getenv("VERSION") versionName System.getenv("VERSION")
} }
compileOptions { compileOptions {

Loading…
Cancel
Save