Update files
This commit is contained in:
parent
c1ef926188
commit
be5dee5daf
2 changed files with 37 additions and 1 deletions
|
|
@ -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' \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue