Skip to content

Commit

Permalink
Try using NoVerifyDownloadStrategy
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed Nov 13, 2024
1 parent 883bd2d commit 30a66bb
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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"
Expand All @@ -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: |
Expand All @@ -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"
Expand Down

0 comments on commit 30a66bb

Please sign in to comment.