앱 빌드 버전문제 수정

This commit is contained in:
Macbook
2026-06-15 16:25:47 +09:00
parent 4d7ad65cd1
commit 1eaecbb586
2 changed files with 14 additions and 1 deletions
+6 -1
View File
@@ -98,7 +98,12 @@ chmod +x "$WORK_TREE/scripts/prepare-tauri-build.sh" 2>/dev/null || true
# shellcheck disable=SC1091
source "$WORK_TREE/scripts/prepare-tauri-build.sh"
npm install
echo "--- npm ci (monorepo) ---"
if [[ -f package-lock.json ]]; then
npm ci --prefer-offline
else
npm install
fi
echo "--- Vite build (desktop) ---"
export DESKTOP_APP_VERSION="$VERSION"
+8
View File
@@ -37,5 +37,13 @@ if [[ -f "$WORK_TREE/desktop/updater.pub" ]]; then
"$WORK_TREE/scripts/patch-tauri-updater-pubkey.sh"
fi
log "npm ci (monorepo deps — git reset 후 node_modules 불일치 방지)"
cd "$WORK_TREE"
if [[ -f package-lock.json ]]; then
npm ci --prefer-offline
else
npm install
fi
log "HEAD $(git -C "$WORK_TREE" rev-parse --short HEAD 2>/dev/null || echo n/a)"
log "prepare OK"