Update files

This commit is contained in:
Astra 2026-03-09 22:00:51 +00:00
parent c1ef926188
commit be5dee5daf
2 changed files with 37 additions and 1 deletions

View file

@ -31,7 +31,7 @@ NEW_COMMIT=$(git -C "$SUBMODULE_DIR" rev-parse HEAD 2>/dev/null || echo "")
# ── 2. Wipe and re-copy the submodule source ──────────────────────────────────
echo "→ Copying telegram-approval-join source to root..."
# Clean up directories that will be replaced
rm -rf "$ROOT_DIR/cmd" "$ROOT_DIR/internal" "$ROOT_DIR/Dockerfile" "$ROOT_DIR/go.mod" "$ROOT_DIR/go.sum" "$ROOT_DIR/config.yaml.example"
rm -rf "$ROOT_DIR/cmd" "$ROOT_DIR/internal" "$ROOT_DIR/go.mod" "$ROOT_DIR/go.sum" "$ROOT_DIR/config.yaml.example"
# Copy source files, excluding .git and keeping patches/ and scripts/
rsync -a --stats --exclude='.git' --exclude='internal/telegram-approval-join' \