Skip to content

Commit

Permalink
make tidy commands follow 1.17 specs
Browse files Browse the repository at this point in the history
  • Loading branch information
bhamail committed Oct 13, 2022
1 parent 4a54fbf commit 07cb3fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
before:
hooks:
- go mod download
- go mod tidy
- go mod tidy -compat=1.17
builds:
-
ldflags:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ replace github.com/gogo/protobuf => github.com/gogo/protobuf v1.3.2
Be aware that even after you add a `replace` directive, `go mod graph` will still show the old dependency version.
You can verify the new version is actually used via the `go list` command:
```shell
$ go mod tidy
$ go mod tidy -compat=1.17
$ go list -deps | grep github.com/gogo/protobuf
github.com/gogo/protobuf v1.2.1 => github.com/gogo/protobuf v1.3.2
```
Expand Down

0 comments on commit 07cb3fe

Please sign in to comment.