mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-02-24 15:43:08 +08:00
DOCS: Add dep updates steps to rel-eng (#3265)
This commit is contained in:
parent
a341022068
commit
35ac9a964e
1 changed files with 10 additions and 1 deletions
|
@ -7,10 +7,19 @@ GitHub Actions (GHA) will do most of the work for you. You will need to edit the
|
||||||
Please change the version number as appropriate. Substitute (for example)
|
Please change the version number as appropriate. Substitute (for example)
|
||||||
`v4.2.0` any place you see `$VERSION` in this doc.
|
`v4.2.0` any place you see `$VERSION` in this doc.
|
||||||
|
|
||||||
|
## Step 0. Update dependencies
|
||||||
|
|
||||||
|
```shell
|
||||||
|
git checkout -b update_deps
|
||||||
|
go install github.com/oligot/go-mod-upgrade@latest
|
||||||
|
go-mod-upgrade
|
||||||
|
go mod tidy
|
||||||
|
git commit -a -m "CHORE: Update dependencies"
|
||||||
|
```
|
||||||
|
|
||||||
## Step 1. Rebuild generated files
|
## Step 1. Rebuild generated files
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
export VERSION=v4.x.0
|
|
||||||
git checkout main
|
git checkout main
|
||||||
git pull
|
git pull
|
||||||
go fmt ./...
|
go fmt ./...
|
||||||
|
|
Loading…
Reference in a new issue