From 5c113e6cb31b8baac3a1f0d57b6f87bf9c992ceb Mon Sep 17 00:00:00 2001 From: yuneng-jiang Date: Sat, 17 Jan 2026 18:16:14 -0800 Subject: [PATCH] build release ui script --- ui/litellm-dashboard/build_release_ui.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 ui/litellm-dashboard/build_release_ui.sh diff --git a/ui/litellm-dashboard/build_release_ui.sh b/ui/litellm-dashboard/build_release_ui.sh new file mode 100755 index 0000000000..4f1168502c --- /dev/null +++ b/ui/litellm-dashboard/build_release_ui.sh @@ -0,0 +1,22 @@ +#!/bin/bash +set -e + +destination_dir="../../litellm/proxy/_experimental/out" + +chmod +x ./build_ui.sh +./build_ui.sh + +commit_message="chore: update Next.js build artifacts ($(date -u +"%Y-%m-%d %H:%M UTC"), node $(node -v))" + +if git rev-parse --is-inside-work-tree > /dev/null 2>&1; then + git add -f "$destination_dir"/ + + if ! git diff --cached --quiet; then + git commit -m "$commit_message" + echo "Git commit created." + else + echo "No changes to commit." + fi +else + echo "Not a git repository. Skipping commit." +fi