chore(release): verify remote backend artifact

This commit is contained in:
2026-07-14 22:19:52 +08:00
parent 5f8dc82462
commit 442082bfc9
3 changed files with 15 additions and 1 deletions
+2
View File
@@ -167,6 +167,8 @@ curl -k -s https://peilian.njzhmj.top/h5/ | sed -n '1,20p'
RELEASE_REMOTE_URL=https://peilian.njzhmj.top ./scripts/release-preflight.sh
# 发布后核验线上主资源是否与当前本地产物一致
RELEASE_REMOTE_URL=https://peilian.njzhmj.top RELEASE_VERIFY_REMOTE_MATCH=true ./scripts/release-preflight.sh
# 同时通过 SSH 校验线上后端 jar;默认使用本机 SSH alias YCWY
RELEASE_REMOTE_URL=https://peilian.njzhmj.top RELEASE_VERIFY_REMOTE_MATCH=true RELEASE_VERIFY_REMOTE_BACKEND=true ./scripts/release-preflight.sh
```
带 `RELEASE_REMOTE_URL` 时,预检同时校验租户接口 JSON 的业务 `code=200`;HTTP 200 但业务返回 401/405 会判定失败。