Skip to content

Commit 231db00

Browse files
committed
chore: update .go.tpl files when auto-renaming module
1 parent a8df623 commit 231db00

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/rename-module.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,11 @@ jobs:
3838
- name: Globally update module name
3939
run: |
4040
go mod edit -module github.com/ava-labs/libevm;
41-
find . -iname '*.go' -o -iname '*.txt' | xargs sed -i -E \
42-
's|(["`]github\.com/)ethereum/go-ethereum|\1ava-labs/libevm|g';
41+
find . \
42+
-iname '*.go' \
43+
-o -iname '*.txt' \
44+
-o -iname '*.go.tpl' | xargs \
45+
sed -i -E 's|(["`]github\.com/)ethereum/go-ethereum|\1ava-labs/libevm|g';
4346
4447
- name: Remnant references
4548
run: |

0 commit comments

Comments
 (0)