Skip to content

Commit edfcadc

Browse files
authored
Merge pull request etcd-io#20770 from ivanvc/update-dependency-update-steps
Update dependency management guide to use make fix
2 parents e2f20f7 + 91d71e0 commit edfcadc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Documentation/contributor-guide/dependency_management.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ cd ${ETCD_ROOT_DIR}/etcdctl
5757
go get github.com/spf13/[email protected]
5858
go mod tidy
5959
cd ..
60-
./scripts/fix.sh
60+
make fix # This will update the bill of materials, Go modules and workspace, etc.
6161
```
6262

6363
Execute the same steps for all other modules. When you finish bumping the dependency for all modules, then commit the change,
@@ -120,7 +120,7 @@ and everyone is welcome to participate; you just need to register your name in t
120120
121121
Usually, we don't proactively bump dependencies for stable releases unless there are any CVEs or bugs that affect etcd.
122122
123-
If we have to do it, then follow the same guidance above. Note that there is no `./scripts/fix.sh` in release-3.4, so no need to
123+
If we have to do it, then follow the same guidance above. Note that there is no `./scripts/fix.sh`/`make fix` in release-3.4, so no need to
124124
execute it for 3.4.
125125
126126
## Golang versions

Documentation/contributor-guide/modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ There are the following modules:
7171
5. To trigger actions across all modules (e.g. auto-format all files), please
7272
use/expand the following script:
7373
```shell script
74-
% ./scripts/fix.sh
74+
% make fix
7575
```
7676

7777
### Future

0 commit comments

Comments
 (0)