Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: update

d-bytebasee42714a0aab5
diff --git a/.github/workflows/build-push-ci-image.yml b/.github/workflows/build-push-ci-image.yml
index e1805c6f12..fd2430aa2d 100644
--- a/.github/workflows/build-push-ci-image.yml
+++ b/.github/workflows/build-push-ci-image.yml
@@ -30,6 +30,7 @@ jobs:
working-directory: frontend
- name: Run pnpm release build
run: |
+ rm -r ./backend/server/dist
cp backend/plugin/advisor/config/* frontend/src/types
cp backend/enterprise/api/plan.yaml frontend/src/types
pnpm --dir ./frontend i && pnpm --dir ./frontend release
diff --git a/scripts/Dockerfile b/scripts/Dockerfile
index 178e367f0e..01cdccea74 100644
--- a/scripts/Dockerfile
+++ b/scripts/Dockerfile
@@ -29,7 +29,8 @@ WORKDIR /backend-build
COPY . .
-RUN pwd
+RUN ls -al
+RUN ls -al ./backend/server
# -ldflags="-w -s" means omit DWARF symbol table and the symbol table and debug information
# go-sqlite3 requires CGO_ENABLED
diff --git a/scripts/build_bytebase.sh b/scripts/build_bytebase.sh
index 78a0d79abc..8ad955792a 100755
--- a/scripts/build_bytebase.sh
+++ b/scripts/build_bytebase.sh
@@ -37,6 +37,8 @@ echo "Start building Bytebase monolithic ${VERSION}..."
echo ""
echo "Step 1 - building Bytebase frontend..."
+rm -r ./backend/server/dist
+
if command -v pnpm > /dev/null
then
pnpm --dir ./frontend i && pnpm --dir ./frontend release