mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
build release ui script
This commit is contained in:
parent
62b082b8b1
commit
5c113e6cb3
1 changed files with 22 additions and 0 deletions
22
ui/litellm-dashboard/build_release_ui.sh
Executable file
22
ui/litellm-dashboard/build_release_ui.sh
Executable file
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue