File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ set -euo pipefail
44cd $( dirname " $0 " ) /../android
55file=' build.gradle'
66content=$( cat $file )
7- regex=' (io\.sentry:sentry-android:)([0-9\.]+)'
7+ regex=' (io\.sentry:sentry-android:)([0-9\.]+(\-[a-z0-9\.]+)? )'
88if ! [[ $content =~ $regex ]]; then
99 echo " Failed to find the android plugin version in $file "
1010 exit 1
@@ -20,6 +20,7 @@ get-repo)
2020set-version)
2121 newValue=" ${BASH_REMATCH[1]} $2 "
2222 echo " ${content/ ${BASH_REMATCH[0]} / $newValue } " > $file
23+ ../scripts/generate-android-bindings.sh " $2 "
2324 ;;
2425* )
2526 echo " Unknown argument $1 "
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ set -euo pipefail
44cd $( dirname " $0 " ) /../ios
55file=' sentry_flutter.podspec'
66content=$( cat $file )
7- regex=" ('Sentry/HybridSDK', *)'([0-9\.]+)'"
7+ regex=" ('Sentry/HybridSDK', *)'([0-9\.]+(\-[a-z0-9\.]+)? )'"
88if ! [[ $content =~ $regex ]]; then
99 echo " Failed to find the plugin version in $file "
1010 exit 1
You can’t perform that action at this time.
0 commit comments