Skip to content

Commit

Permalink
Proper check for android auto update
Browse files Browse the repository at this point in the history
  • Loading branch information
dragly committed Nov 3, 2016
1 parent 684597b commit 1557db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CuteVersioning.pri
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ write_file($$PWD/CuteVersioning/version.h, HEADER_OUTPUT)
# Write AndroidManifest.xml
android {
$$CUTEVERSIONING_REPLACE_ANDROID_VERSION_NAME {
!isEmpty(CUTEVERSIONING_REPLACE_ANDROID_VERSION_NAME) {
!isEmpty(ANDROID_PACKAGE_SOURCE_DIR) {
ANDROID_RESULT = $$system(cat $${ANDROID_PACKAGE_SOURCE_DIR}/AndroidManifest.xml | \
sed -e 's/android:versionName=\\"[^\\"]*/android:versionName=\\"$${CUTEVERSIONING_GIT_LATEST_TAG}/' \
Expand Down

0 comments on commit 1557db4

Please sign in to comment.