Skip to content

Modern Docker Management, Designed for Everyone

chore: fix artifact extention template

Kyle Mendellde033e4b035d
diff --git a/.goreleaser.yaml b/.goreleaser.yaml
index ac2493ebd..a2756d866 100644
--- a/.goreleaser.yaml
+++ b/.goreleaser.yaml
@@ -236,7 +236,7 @@ nfpms:
publishers:
- name: nexus-debian
- if: '{{ hasSuffix .ArtifactName ".deb" }}'
+ if: '{{ eq .ArtifactExt ".deb" }}'
disable: '{{ if not (and (index .Env "NEXUS_USERNAME") (index .Env "NEXUS_PASSWORD")) }}true{{ end }}'
dir: "{{ dir .ArtifactPath }}"
cmd: >-
@@ -246,7 +246,7 @@ publishers:
'https://pkgs.getarcane.app/repository/debian/stable/{{- if eq .Arch "amd64" -}}amd64{{- else if eq .Arch "arm64" -}}arm64{{- else if eq .Arch "386" -}}i386{{- else if and (eq .Arch "arm") (eq .Arm "7") -}}armhf{{- else -}}{{ .Arch }}{{- end -}}/{{ .ArtifactName }}'
- name: nexus-yum
- if: '{{ hasSuffix .ArtifactName ".rpm" }}'
+ if: '{{ eq .ArtifactExt ".rpm" }}'
disable: '{{ if not (and (index .Env "NEXUS_USERNAME") (index .Env "NEXUS_PASSWORD")) }}true{{ end }}'
dir: "{{ dir .ArtifactPath }}"
cmd: >-