Skip to content

Commit 0a5d388

Browse files
fix: scope onesignal version grep to quoted assignment line
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent dc00cb0 commit 0a5d388

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Resolve OneSignal Android SDK version
5050
id: android-sdk-version
5151
run: |
52-
VERSION=$(grep -E '^onesignal\s*=' android/gradle/libs.versions.toml | sed -E 's/.*"([^"]+)".*/\1/')
52+
VERSION=$(grep -E '^onesignal\s*=\s*"' android/gradle/libs.versions.toml | sed -E 's/.*"([^"]+)".*/\1/')
5353
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
5454
5555
- name: Wait for OneSignal Android SDK on Maven Central

0 commit comments

Comments
 (0)