앱 빌드 버전문제 수정
This commit is contained in:
@@ -98,7 +98,12 @@ chmod +x "$WORK_TREE/scripts/prepare-tauri-build.sh" 2>/dev/null || true
|
|||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
source "$WORK_TREE/scripts/prepare-tauri-build.sh"
|
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) ---"
|
echo "--- Vite build (desktop) ---"
|
||||||
export DESKTOP_APP_VERSION="$VERSION"
|
export DESKTOP_APP_VERSION="$VERSION"
|
||||||
|
|||||||
@@ -37,5 +37,13 @@ if [[ -f "$WORK_TREE/desktop/updater.pub" ]]; then
|
|||||||
"$WORK_TREE/scripts/patch-tauri-updater-pubkey.sh"
|
"$WORK_TREE/scripts/patch-tauri-updater-pubkey.sh"
|
||||||
fi
|
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 "HEAD $(git -C "$WORK_TREE" rev-parse --short HEAD 2>/dev/null || echo n/a)"
|
||||||
log "prepare OK"
|
log "prepare OK"
|
||||||
|
|||||||
Reference in New Issue
Block a user