mirror of
https://github.com/hanzoai/chat.git
synced 2026-09-30 20:51:17 +00:00
Removes the upstream LibreChat brand from user-visible + internal surfaces (pt-PT locale string, MCP trust-warning template, code comments, the libreChatProxy var, the LIBRE_CHAT_DOCKER_TAG build-script env, README prose). App UI was already Hanzo-branded; this cleans the residue. KEPT deliberately: - LICENSE / packages/data-schemas/LICENSE 'Copyright (c) … LibreChat' — the MIT license REQUIRES the attribution; stripping it would violate the license. - All LibreOffice references (packages/api/src/files/documents/libreoffice.ts) — that is the office-suite doc-preview dependency, NOT LibreChat; removing it breaks document preview.
32 lines
525 B
Bash
Executable File
32 lines
525 B
Bash
Executable File
#!/bin/bash
|
|
[ "$1" = -x ] && shift && set -x
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
cd ${DIR}/../..
|
|
|
|
TAG=$1
|
|
|
|
if [[ -z "${TAG}" ]]; then
|
|
TAG=${CHAT_DOCKER_TAG}
|
|
fi
|
|
|
|
if [[ -z "${TAG}" ]]; then
|
|
TAG=latest
|
|
fi
|
|
|
|
LOCAL_DOCKER_IMG=hanzo-chat:${TAG}
|
|
|
|
if [[ -z "${DOCKER_REMOTE_REGISTRY}" ]]; then
|
|
echo "DOCKER_REMOTE_REGISTRY is not set" >&2
|
|
|
|
exit 1
|
|
fi
|
|
|
|
REMOTE_DOCKER_IMG=${DOCKER_REMOTE_REGISTRY}/${LOCAL_DOCKER_IMG}
|
|
|
|
set -e
|
|
|
|
docker tag ${LOCAL_DOCKER_IMG} ${REMOTE_DOCKER_IMG}
|
|
|
|
docker push ${REMOTE_DOCKER_IMG}
|