File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1919 name : Android SDK
2020 ssh-key : ${{ secrets.CI_DEPLOY_KEY }}
2121
22- android-stubs :
23- runs-on : ubuntu-latest
24- steps :
25- - uses : getsentry/github-workflows/updater@v3
26- with :
27- path : scripts/update-android-stubs.sh
28- name : Android SDK Stubs
29- ssh-key : ${{ secrets.CI_DEPLOY_KEY }}
30-
3122 cocoa :
3223 runs-on : ubuntu-latest
3324 steps :
Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ get-repo)
2020set-version)
2121 newValue=" ${BASH_REMATCH[1]} $2 "
2222 echo " ${content/ ${BASH_REMATCH[0]} / $newValue } " > $file
23+
24+ # Rebuild the stubs jar and JS types
25+ cd ..
26+ yarn build:replay-stubs || true
2327 ;;
2428* )
2529 echo " Unknown argument $1 "
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -euo pipefail
33
4+ ORIGINAL_DIR=$( cd " $( dirname " $0 " ) " && pwd)
45cd $( dirname " $0 " ) /../packages/core/android
56file=' build.gradle'
67content=$( cat $file )
@@ -25,6 +26,10 @@ set-version)
2526 # Update sentry-spotlight
2627 newContent=$( echo " $newContent " | sed -E " s/(io\.sentry:sentry-spotlight:)([0-9\.]+)/\1$2 /g" )
2728 echo " $newContent " > $file
29+
30+ # Update replay-stubs to match
31+ cd $ORIGINAL_DIR
32+ ./update-android-stubs.sh set-version $2
2833 ;;
2934* )
3035 echo " Unknown argument $1 "
You can’t perform that action at this time.
0 commit comments