Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/manual-prepare_release_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,12 @@ jobs:

##############################################################################
# 2) Android build.gradle: bump cloud.mindbox:mobile-sdk:<version>
# mindbox-common goes with it: it is an implementation dependency of mobile-sdk, so the
# wrapper takes it compileOnly and both must stay on the same version.
##############################################################################
echo "→ Bumping Android SDK in android/build.gradle"
sed -i "s|\(api 'cloud.mindbox:mobile-sdk:\).*|\1$AND_VER'|" android/build.gradle
sed -i "s|\(compileOnly 'cloud.mindbox:mindbox-common:\).*|\1$AND_VER'|" android/build.gradle
git add android/build.gradle

##############################################################################
Expand Down
1 change: 1 addition & 0 deletions git-release-branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ if ! [[ $android_sdk_version =~ ^[0-9]+\.[0-9]+\.[0-9]+(-rc)?$ ]]; then
fi

sed -i '' "s/ api 'cloud.mindbox:mobile-sdk:.*/ api 'cloud.mindbox:mobile-sdk:${android_sdk_version}'/" "$android_gradle"
sed -i '' "s/ compileOnly 'cloud.mindbox:mindbox-common:.*/ compileOnly 'cloud.mindbox:mindbox-common:${android_sdk_version}'/" "$android_gradle"
echo "Bump $android_gradle to $android_sdk_version"

read -r -p "iOS SDK version: " ios_sdk_version
Expand Down