From 001c09c11be91f8253254be4406b9a5e9a84ee1a Mon Sep 17 00:00:00 2001 From: Randy Fay Date: Thu, 14 Nov 2024 08:18:25 -0700 Subject: [PATCH] add debugging hooks for AUR --- .goreleaser.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index bf32971db29..fb006e428b5 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -309,6 +309,14 @@ snapshot: aurs: - name: "ddev" + hooks: + pre: + - cmd: | + echo "Debug for ddev (stable):" + echo "REPOSITORY_OWNER='{{.Env.REPOSITORY_OWNER}}'" + echo "Prerelease='{{.Prerelease}}'" + echo "Skip upload evaluates to: '{{ if and (eq .Env.REPOSITORY_OWNER "ddev") (not .Prerelease) }}false{{ else }}true{{ end }}'" + ids: - ddev homepage: "https://github.com/ddev/ddev" @@ -347,6 +355,13 @@ aurs: email: randy@randyfay.com - name: "ddev-edge" + hooks: + pre: + - cmd: | + echo "Debug for ddev-edge:" + echo "REPOSITORY_OWNER='{{.Env.REPOSITORY_OWNER}}'" + echo "Prerelease='{{.Prerelease}}'" + echo "Skip upload evaluates to: '{{ if and (eq .Env.REPOSITORY_OWNER "ddev") (not .Prerelease) }}false{{ else }}true{{ end }}'" ids: - ddev homepage: "https://github.com/ddev/ddev"