From 8a061f085ff3078e1129e108a2f66dda5f791831 Mon Sep 17 00:00:00 2001 From: jacy <18049821889@163.com> Date: Fri, 21 Aug 2026 17:49:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4v3.5.4=20=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=E5=B0=8F=E7=A8=8B=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/mini-user/package.json | 2 +- apps/mini-user/src/lib/client-version.ts | 2 +- deploy/_tmp-prod-sku.sh | 17 ----------------- 3 files changed, 2 insertions(+), 19 deletions(-) delete mode 100644 deploy/_tmp-prod-sku.sh diff --git a/apps/mini-user/package.json b/apps/mini-user/package.json index 5fbac76..17a9102 100644 --- a/apps/mini-user/package.json +++ b/apps/mini-user/package.json @@ -1,6 +1,6 @@ { "name": "@dukang/mini-user", - "version": "3.4.15", + "version": "3.5.4", "private": true, "description": "杜康好客 · C 端用户微信小程序(Taro)", "scripts": { diff --git a/apps/mini-user/src/lib/client-version.ts b/apps/mini-user/src/lib/client-version.ts index 0b3b679..fa52011 100644 --- a/apps/mini-user/src/lib/client-version.ts +++ b/apps/mini-user/src/lib/client-version.ts @@ -2,7 +2,7 @@ import Taro from '@tarojs/taro'; import { fetchClientConfig } from './pay-wechat'; /** 与 package.json version 同步,供服务端 minClientVersion 比对 */ -export const APP_VERSION = '3.4.15'; +export const APP_VERSION = '3.5.4'; export const APP_VERSION_LABEL = `v${APP_VERSION}`; diff --git a/deploy/_tmp-prod-sku.sh b/deploy/_tmp-prod-sku.sh deleted file mode 100644 index 41fbdfd..0000000 --- a/deploy/_tmp-prod-sku.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail -SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" -# shellcheck disable=SC1091 -source "$SCRIPT_DIR/deploy.env" -SSH_OPTS=(-o "StrictHostKeyChecking=accept-new" -p "${DEPLOY_PORT:-22}") -if [[ -n "${DEPLOY_SSH_KEY:-}" ]]; then - SSH_OPTS+=(-i "$DEPLOY_SSH_KEY") -fi -ssh "${SSH_OPTS[@]}" "${DEPLOY_USER}@${DEPLOY_HOST}" bash -s <<'REMOTE' -set -euo pipefail -cd /opt/dukang/server/dukang-api -echo "==> backfill default SKUs" -node scripts/with-api-env.cjs npx ts-node --transpile-only prisma/backfill-product-skus.ts -echo "==> rewrite SKU codes to DK" -node scripts/with-api-env.cjs npx ts-node --transpile-only prisma/rewrite-sku-codes-dk.ts -REMOTE