Skip to content

Commit fcd6dbd

Browse files
authored
Don't run go mod tidy on release (#1788)
* Don't run go mod tidy on release * Be more specific about releases
1 parent df09c00 commit fcd6dbd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.goreleaser.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# Visit https://goreleaser.com for documentation on how to customize this
22
# behavior.
33
before:
4-
hooks:
4+
hooks: []
55
# this is just an example and not a requirement for provider building/publishing
6-
- go mod tidy
6+
# commenting for now to unbreak releases. this can be uncommented when we
7+
# update from v1.17.2 to v2 of the terraform-provider-sdk.
8+
# - go mod tidy
79
builds:
810
- env:
911
# goreleaser does not work with CGO, it could also complicate

0 commit comments

Comments
 (0)