We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97883f3 commit 17de1dcCopy full SHA for 17de1dc
1 file changed
.github/workflows/syncVersions.yml
@@ -87,7 +87,7 @@ jobs:
87
88
# Pad build number components for Android version code (prefix 10 for E/App)
89
IFS='.' read -r MAJOR MINOR PATCH <<< "$SHORT_VERSION"
90
- ANDROID_VERSION_CODE="10$(printf '%02d' $MAJOR)$(printf '%02d' $MINOR)$(printf '%02d' $PATCH)$(printf '%02d' $BUILD_NUMBER)"
+ ANDROID_VERSION_CODE="10$(printf '%02d' "$MAJOR")$(printf '%02d' "$MINOR")$(printf '%02d' "$PATCH")$(printf '%02d' "$BUILD_NUMBER")"
91
92
echo "Updating Android build.gradle with versionName=$TARGET, versionCode=$ANDROID_VERSION_CODE"
93
sed -i '' "s/versionName \"[0-9.-]*\"/versionName \"$TARGET\"/" android/app/build.gradle
0 commit comments