Change summary
.goreleaser.yml | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
Detailed changes
@@ -98,6 +98,7 @@ checksum:
aur_sources:
- private_key: "{{ .Env.AUR_KEY }}"
+ disable: "{{ with .Prerelease }}true{{ end }}"
git_url: "ssh://aur@aur.archlinux.org/crush.git"
commit_author:
name: "Charm"
@@ -141,6 +142,7 @@ aur_sources:
aurs:
- private_key: "{{ .Env.AUR_KEY }}"
+ disable: "{{ with .Prerelease }}true{{ end }}"
git_url: "ssh://aur@aur.archlinux.org/crush-bin.git"
commit_author:
name: "Charm"
@@ -170,7 +172,7 @@ aurs:
install -Dm644 README* "${pkgdir}/usr/share/doc/crush/"
furies:
- - disable: "{{ .IsNightly }}"
+ - disable: "{{ if (or .Prerelease .IsNightly) }}true{{ end }}"
account: "{{ with .Env.FURY_TOKEN }}charmcli{{ else }}{{ end }}"
secret_name: FURY_TOKEN
@@ -179,6 +181,7 @@ brews:
owner: charmbracelet
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
+ skip_upload: "{{ with .Prerelease }}true{{ end }}"
commit_author:
name: "Charm"
email: "charmcli@users.noreply.github.com"
@@ -194,6 +197,7 @@ scoops:
owner: charmbracelet
name: scoop-bucket
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
+ skip_upload: "{{ with .Prerelease }}true{{ end }}"
commit_author:
name: "Charm"
email: "charmcli@users.noreply.github.com"
@@ -203,6 +207,7 @@ npms:
repository: "git+https://github.com/charmbracelet/crush.git"
bugs: https://github.com/charmbracelet/crush/issues
access: public
+ disable: "{{ with .Prerelease }}true{{ end }}"
nfpms:
- formats:
@@ -257,6 +262,7 @@ nix:
name: "Charm"
email: "charmcli@users.noreply.github.com"
license: fsl11Mit
+ skip_upload: "{{ with .Prerelease }}true{{ end }}"
extra_install: |-
installManPage ./manpages/crush.1.gz
installShellCompletion ./completions/*
@@ -267,6 +273,7 @@ winget:
publisher_url: https://charm.land
release_notes_url: "https://github.com/charmbracelet/crush/releases/tag/{{.Tag}}"
license_url: https://github.com/charmbracelet/crush/blob/main/LICENSE.md
+ skip_upload: "{{ with .Prerelease }}true{{ end }}"
commit_author:
name: "Charm"
email: "charmcli@users.noreply.github.com"