提交v3.5.4 版本号小程序
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@dukang/mini-user",
|
||||
"version": "3.4.15",
|
||||
"version": "3.5.4",
|
||||
"private": true,
|
||||
"description": "杜康好客 · C 端用户微信小程序(Taro)",
|
||||
"scripts": {
|
||||
|
||||
@@ -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}`;
|
||||
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user