File tree 1 file changed +12
-6
lines changed 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 9
9
type : string
10
10
default : " 2bd6bd01d2e8561dd7fc21b631f4a34ac16627a1"
11
11
12
- concurrency :
13
- group : ${{ github.workflow }}-${{ github.ref }}
14
- cancel-in-progress : ${{ github.ref != 'refs/heads/main' }}
15
-
16
12
jobs :
17
13
rename-module :
18
14
runs-on : ubuntu-latest
@@ -32,14 +28,24 @@ jobs:
32
28
echo "DEST_BRANCH=auto-rename-module_source-${{ inputs.source_commit }}_workflow-${WORKFLOW_HASH}-${{ github.ref_name }}" \
33
29
>> "$GITHUB_OUTPUT";
34
30
31
+ - name : Fetch tags from ethereum/go-ethereum
32
+ run : git fetch --tags https://github.com/ethereum/go-ethereum.git
33
+
34
+ - name : Tags pointing to source commit
35
+ run : git tag --points-at ${{ inputs.source_commit }}
36
+
35
37
- name : Check out source commit
36
38
run : git checkout ${{ inputs.source_commit }}
37
39
38
40
- name : Globally update module name
39
41
run : |
40
42
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';
43
+ find . \
44
+ -iname '*.go' \
45
+ -o -iname '*.txt' \
46
+ -o -iname '*.go.tpl' \
47
+ -o -iname '*.proto' | xargs \
48
+ sed -i -E 's|(["`]github\.com/)ethereum/go-ethereum|\1ava-labs/libevm|g';
43
49
44
50
- name : Remnant references
45
51
run : |
You can’t perform that action at this time.
0 commit comments