@@ -247,7 +247,6 @@ install: build ## Install built provider into the local terraform cache
247247.PHONY : tools
248248tools : $(GOBIN ) tools-golangci-lint # # Install useful tools for linting, docs generation and development
249249 @ cd tools && go install github.com/client9/misspell/cmd/misspell
250- @ cd tools && go install github.com/goreleaser/goreleaser/v2
251250
252251.PHONY : tools-golangci-lint
253252tools-golangci-lint : # # Download golangci-lint locally if necessary.
@@ -287,22 +286,21 @@ check-docs: docs-generate ## Check uncommitted changes on docs
287286
288287
289288.PHONY : setup
290- setup : tools # # Setup the dev environment
291-
289+ setup : tools vendor # # Setup the dev environment
292290
293291.PHONY : release-snapshot
294292release-snapshot : tools # # Make local-only test release to see if it works using "release" command
295- @ $( GOBIN ) /goreleaser release --snapshot --clean
293+ @ go tool github.com /goreleaser/goreleaser/v2 release --snapshot --clean
296294
297295
298296.PHONY : release-no-publish
299297release-no-publish : tools check-sign-release # # Make a release without publishing artifacts
300- @ $( GOBIN ) /goreleaser release --skip=publish,announce,validate --parallelism=2
298+ @ go tool github.com /goreleaser/goreleaser/v2 release --skip=publish,announce,validate --parallelism=2
301299
302300
303301.PHONY : release
304302release : tools check-sign-release check-publish-release # # Build, sign, and upload your release
305- @ $( GOBIN ) /goreleaser release --clean --parallelism=4
303+ @ go tool github.com /goreleaser/goreleaser/v2 release --clean --parallelism=4
306304
307305
308306.PHONY : check-sign-release
0 commit comments