From 74656a9d28509e11ac4bbb9e9aed17d289b0ab32 Mon Sep 17 00:00:00 2001 From: Macbook Date: Sun, 14 Jun 2026 16:46:37 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20macOS=20sed=EB=A1=9C=20APK=20versionName?= =?UTF-8?q?=20=ED=8C=8C=EC=8B=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BSD sed는 \\s를 지원하지 않아 .env에 잘못된 버전이 기록되던 문제를 수정한다. Co-authored-by: Cursor --- scripts/jenkins-mobile-pipeline.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/jenkins-mobile-pipeline.sh b/scripts/jenkins-mobile-pipeline.sh index 7c15437..b520a07 100755 --- a/scripts/jenkins-mobile-pipeline.sh +++ b/scripts/jenkins-mobile-pipeline.sh @@ -32,7 +32,7 @@ chmod +x "$ROOT/scripts/"*.sh 2>/dev/null || true "$ROOT/scripts/build-mobile-apk.sh" -VERSION_NAME="$(grep -E 'versionName\s+"' "$ROOT/app/android/app/build.gradle" | head -1 | sed -E 's/.*versionName\s+"([^"]+)".*/\1/' || true)" +VERSION_NAME="$(grep -E 'versionName[[:space:]]+"' "$ROOT/app/android/app/build.gradle" | head -1 | sed -E 's/.*versionName[[:space:]]+"([^"]+)".*/\1/' || true)" if [[ -n "$VERSION_NAME" ]]; then log "APK version → $VERSION_NAME"