Skip to content

Commit cc4e375

Browse files
authored
Update update-cocoa.sh (#3068)
1 parent 793f4dc commit cc4e375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flutter/scripts/update-cocoa.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ set_podspec_version() {
3131
set_spm_version() {
3232
local file='sentry_flutter/Package.swift'
3333
local content=$(cat $file)
34-
regex="(url: *['\"]https://github.com/getsentry/sentry-cocoa['\"], *from: *)['\"]([0-9\.]+(-[a-z0-9\.]+)?)['\"]"
34+
regex="(url: *['\"]https://github.com/getsentry/sentry-cocoa['\"], *exact: *)['\"]([0-9\.]+(-[a-z0-9\.]+)?)['\"]"
3535
if ! [[ $content =~ $regex ]]; then
3636
echo "Failed to find the plugin version in $file"
3737
exit 1

0 commit comments

Comments
 (0)