mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-12 03:13:41 +08:00
Merge remote-tracking branch 'origin/upstream/main'
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
default
|
||||
berry
|
||||
berry
|
||||
|
||||
10
web/build.sh
10
web/build.sh
@@ -1,13 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
version=$(cat VERSION)
|
||||
themes=$(cat THEMES)
|
||||
IFS=$'\n'
|
||||
pwd
|
||||
|
||||
for theme in $themes; do
|
||||
while IFS= read -r theme; do
|
||||
echo "Building theme: $theme"
|
||||
cd $theme
|
||||
rm -r build/$theme
|
||||
cd "$theme"
|
||||
npm install
|
||||
DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$version npm run build
|
||||
cd ..
|
||||
done
|
||||
done < THEMES
|
||||
|
||||
Reference in New Issue
Block a user