Skip to content

Commit

Permalink
Fix up AUR to only upload if REPOSITORY_OWNER=ddev
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed Nov 14, 2024
1 parent 6af7e19 commit 86fb96a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -314,10 +314,10 @@ aurs:
homepage: "https://github.com/ddev/ddev"
description: "DDEV: a local web development environment"
maintainers:
- 'Randy Fay <randy at randyfay.com>'
- 'Randy Fay <randy.fay@ddev.com>'
license: "Apache 2"
# main ddev repo will only be uploaded on non-prerelease
skip_upload: auto
# main ddev repo will only be uploaded on non-prerelease and ddev/ddev repo
skip_upload: '{{ if and (eq .Env.REPOSITORY_OWNER "ddev") (not .Prerelease) }}false{{ else }}true{{ end }}'
private_key: '{{ .Env.AUR_SSH_PRIVATE_KEY }}'
# AUR_EDGE_GIT_URL should be something like ssh://[email protected]/ddev-bin.git or ssh://[email protected]/rfay-test-ddev-bin.git
git_url: '{{ .Env.AUR_STABLE_GIT_URL }}'
Expand Down Expand Up @@ -352,10 +352,10 @@ aurs:
homepage: "https://github.com/ddev/ddev"
description: "DDEV: a local web development environment (edge)"
maintainers:
- 'Randy Fay <randy at randyfay.com>'
- 'Randy Fay <randy.fay@ddev.com>'
license: "Apache 2"
# Always upload, even on prerelease
skip_upload: "false"
# Always upload on ddev/ddev
skip_upload: '{{ if eq .Env.REPOSITORY_OWNER "ddev" }}false{{ else }}true{{ end }}'
private_key: '{{ .Env.AUR_SSH_PRIVATE_KEY }}'
# AUR_EDGE_GIT_URL should be something like ssh://[email protected]/ddev-edge-bin.git or ssh://[email protected]/rfay-test-ddev-edge-bin.git
git_url: '{{ .Env.AUR_EDGE_GIT_URL }}'
Expand Down

0 comments on commit 86fb96a

Please sign in to comment.