From 5f83f0060c37ed1576b351329b528cd84d6c6e00 Mon Sep 17 00:00:00 2001 From: Keegan Campbell Date: Tue, 11 Jul 2023 11:01:47 -0700 Subject: [PATCH] Don't run go mod tidy on release (#1788) * Don't run go mod tidy on release * Be more specific about releases --- .goreleaser.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 68390d523e..b07c411d96 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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