File tree Expand file tree Collapse file tree 2 files changed +1
-15
lines changed
Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Original file line number Diff line number Diff line change 7575 # create files
7676 echo -n "$ANDROID_KEY_PROPERTIES" | base64 --decode -o $KEY_PROPERTIES_FILE
7777 echo -n "$ANDROID_UPLOAD_KEY_JKS" | base64 --decode -o $UPLOAD_KEY_JKS_FILE
78-
79- - name : Update Version Code in Android build
80- working-directory : ./android
81- run : |
82- GRADLE_FILE=./app/build.gradle
83-
84- # Get curent version from build.gradle
85- VERSION_CODE=$(grep versionCode $GRADLE_FILE | awk '{print $2}') || error "Failed to read Android versionCode"
86- # Tack on the date including the hour and min
87- DATE_CODE=$(date '+%Y%m%d%H%M')
88- VERSION_CODE="${VERSION_CODE}.${DATE_CODE}"
89-
90- # Update capacitor.config.json version code
91- sed -i "" "s/versionCode .*/versionCode ${VERSION_CODE}/" $GRADLE_FILE || error "Failed to update Android versionCode"
9278
9379 - name : npm build-mobile
9480 run : npm run build-mobile
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ android {
1313 applicationId " com.remoteit"
1414 minSdkVersion rootProject. ext. minSdkVersion
1515 targetSdkVersion rootProject. ext. targetSdkVersion
16- versionCode 267
16+ versionCode 268
1717 versionName " 3.35.4"
1818 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
1919 aaptOptions {
You can’t perform that action at this time.
0 commit comments