Skip to content

Commit f3a86fc

Browse files
SaintPatrckclaude
andcommitted
Fix version extraction regex to exclude trailing quote
Corrects regex pattern in build-testharness.yml to match the pattern used in build-authenticator.yml. The previous regex captured the closing quote as part of the version name, which would result in malformed version strings. Before: regex='appVersionName = "([^"]+")' → captures "2025.11.1" After: regex='appVersionName = "([^"]+)"' → captures "2025.11.1" Addresses Finding 2 from code review of PR #6181. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 6b77e06 commit f3a86fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-testharness.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
versionCode:"$VERSION_CODE" \
102102
versionName:"$VERSION_NAME_INPUT"
103103
104-
regex='appVersionName = "([^"]+")'
104+
regex='appVersionName = "([^"]+)"'
105105
if [[ "$(cat gradle/libs.versions.toml)" =~ $regex ]]; then
106106
VERSION_NAME="${BASH_REMATCH[1]}"
107107
fi

0 commit comments

Comments
 (0)