Skip to content

Commit

Permalink
[android] increment versionCode by one for arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
Rechi authored and MartijnKaijser committed Oct 30, 2017
1 parent 5dc8ce9 commit 5c9080b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/scripts/android/Install.cmake
Expand Up @@ -37,6 +37,9 @@ unset(APP_VERSION_CODE_LIST)
math(EXPR APP_VERSION_CODE_ANDROID "(${major} * 100 + ${minor}) * 1000 + ${patch}")
unset(major)
unset(minor)
if(ARCH STREQUAL aarch64 AND patch LESS 999)
math(EXPR APP_VERSION_CODE_ANDROID "${APP_VERSION_CODE_ANDROID} + 1")
endif()
unset(patch)

set(package_files strings.xml
Expand Down

0 comments on commit 5c9080b

Please sign in to comment.