门店核销功能测试

This commit is contained in:
2026-07-06 23:40:12 +08:00
parent a66207ffa9
commit e85c4b9bcb
3 changed files with 9 additions and 2 deletions
+5 -1
View File
@@ -74,6 +74,10 @@ sed -i 's/\r$//' "$ENV_FILE" 2>/dev/null || true
find "$APP_ROOT/deploy" -maxdepth 1 -name '*.sh' -exec sed -i 's/\r$//' {} + 2>/dev/null || true
log "RUN remote-release.sh"
bash "$APP_ROOT/deploy/remote-release.sh"
RELEASE_ARGS=()
if [[ "${PRISMA_ACCEPT_DATA_LOSS:-false}" == "true" ]]; then
RELEASE_ARGS+=(--accept-data-loss)
fi
bash "$APP_ROOT/deploy/remote-release.sh" "${RELEASE_ARGS[@]}"
log "DONE auto-release ($REMOTE_SHA)"