Skip to content

Commit

Permalink
Don't run go mod tidy on release (#1788)
Browse files Browse the repository at this point in the history
* Don't run go mod tidy on release

* Be more specific about releases
  • Loading branch information
kfcampbell authored Jul 11, 2023
1 parent df09c00 commit fcd6dbd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Visit https://goreleaser.com for documentation on how to customize this
# behavior.
before:
hooks:
hooks: []
# this is just an example and not a requirement for provider building/publishing
- go mod tidy
# commenting for now to unbreak releases. this can be uncommented when we
# update from v1.17.2 to v2 of the terraform-provider-sdk.
# - go mod tidy
builds:
- env:
# goreleaser does not work with CGO, it could also complicate
Expand Down

0 comments on commit fcd6dbd

Please sign in to comment.