We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9329ee commit 482b8d3Copy full SHA for 482b8d3
1 file changed
scripts/sync-public.sh
@@ -21,6 +21,12 @@ git filter-repo \
21
--path-glob 'web/public/*.txt' \
22
--force
23
24
+# Rewrite Go module path for public repo
25
+OLD_MODULE="github.com/mephistofox/fxtunnel"
26
+NEW_MODULE="github.com/mephistofox/fxtun.dev"
27
+find . -name '*.go' -o -name 'go.mod' | xargs sed -i "s|${OLD_MODULE}|${NEW_MODULE}|g"
28
+git add -A && git commit -m "chore: rewrite module path to ${NEW_MODULE}" --allow-empty
29
+
30
# Create repo if it doesn't exist
31
gh repo view "$PUBLIC_REPO" &>/dev/null || \
32
gh repo create "$PUBLIC_REPO" --public --description "$DESCRIPTION"
0 commit comments