Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Commit e9a91e0

Browse files
committed
Also handle forgotten go.mods
1 parent 6dbeb98 commit e9a91e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

merge-repos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ return re.sub(b"#([0-9]+)", b"https://github.com/grafana/phlare/issues/\\1", mes
2424
'
2525

2626
# move import path to new repo's
27-
git ls-files '*.go' go.mod go.sum | xargs sed -i 's#github.com/grafana/phlare#github.com/grafana/pyroscope#g'
27+
git ls-files '*.go' go.mod go.sum api/go.mod api/go.sum ebpf/go.mod ebpf/go.sum | xargs sed -i 's#github.com/grafana/phlare#github.com/grafana/pyroscope#g'
2828
go mod tidy
2929
git add -A .
3030
git commit -m "Rename go import path"

0 commit comments

Comments
 (0)