diff --git a/.goreleaser.yml b/.goreleaser.yml index 924f6ea184d..3951153a142 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -184,10 +184,18 @@ brews: - name: mkcert custom_block: | + # Define custom download strategy + class NoVerifyDownloadStrategy < CurlDownloadStrategy + def _fetch + curl_download url, to: temporary_path + end + end + head do url "https://github.com/{{ .Env.REPOSITORY_OWNER }}/ddev.git", branch: "master" resource "ddev-artifacts" do url "https://nightly.link/{{ .Env.REPOSITORY_OWNER }}/ddev/workflows/master-build/master/ddev-head-artifacts.zip" + using NoVerifyDownloadStrategy end end install: | @@ -211,11 +219,6 @@ brews: zsh_completion.install "ddev_zsh_completion.sh" => "_ddev" fish_completion.install "ddev_fish_completion.sh" => "ddev.fish" end - - livecheck do - url :head - skip "Skipping checksum verification for HEAD builds due to changing SHA" - end test: | system "#{bin}/ddev --version" @@ -236,10 +239,18 @@ brews: - name: mkcert custom_block: | + # Define custom download strategy + class NoVerifyDownloadStrategy < CurlDownloadStrategy + def _fetch + curl_download url, to: temporary_path + end + end + head do url "https://github.com/{{ .Env.REPOSITORY_OWNER }}/ddev.git", branch: "master" resource "ddev-artifacts" do url "https://nightly.link/{{ .Env.REPOSITORY_OWNER }}/ddev/workflows/master-build/master/ddev-head-artifacts.zip" + using NoVerifyDownloadStrategy end end install: | @@ -263,11 +274,6 @@ brews: zsh_completion.install "ddev_zsh_completion.sh" => "_ddev" fish_completion.install "ddev_fish_completion.sh" => "ddev.fish" end - - livecheck do - url :head - skip "Skipping checksum verification for HEAD builds due to changing SHA" - end test: | system "#{bin}/ddev --version"