mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-24 02:25:29 +00:00
build release ui script
This commit is contained in:
Executable
+22
@@ -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
|
||||
Reference in New Issue
Block a user