Skip to content
Merged
Changes from 1 commit
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
31 changes: 31 additions & 0 deletions .github/workflows/mobile-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,18 @@ jobs:
with:
app_path: ${{ env.APP_PATH }}

- name: Open PR for iOS build number bump
if: ${{ !env.ACT && github.event_name != 'pull_request' && success() }}
uses: peter-evans/create-pull-request@v6
with:
title: "chore: bump iOS build for ${{ env.VERSION }}"
body: "Automated bump of iOS build number by CI"
commit-message: "chore: incrementing ios build number for version ${{ env.VERSION }} [github action]"
branch: ci/bump-ios-build-${{ github.run_id }}
base: staging
add-paths: |
app/version.json

- name: Monitor cache usage
if: always()
run: |
Expand Down Expand Up @@ -946,6 +958,18 @@ jobs:
with:
app_path: ${{ env.APP_PATH }}

- name: Open PR for Android build number bump
if: ${{ !env.ACT && github.event_name != 'pull_request' && success() }}
uses: peter-evans/create-pull-request@v6
with:
title: "chore: bump Android build for ${{ env.VERSION }}"
body: "Automated bump of Android build number by CI"
commit-message: "chore: incrementing android build version for version ${{ env.VERSION }} [github action]"
branch: ci/bump-android-build-${{ github.run_id }}
base: staging
add-paths: |
app/version.json

- name: Monitor cache usage
if: always()
run: |
Expand Down Expand Up @@ -1053,6 +1077,13 @@ jobs:
exit 0
fi

if [ "$GITHUB_EVENT_NAME" = "pull_request" ]; then
echo "🧪 Pull request event detected - running in dry-run mode."
echo "The following changes would be included in the version bump PR:"
git --no-pager diff --cached
exit 0
fi

# Commit the changes on a temporary local branch
git checkout -b temp-for-version-commit
git commit -m "chore: update version files after deployment [skip ci]"
Expand Down
Loading