diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index ee35fdeff..97ebc5708 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -288,7 +288,6 @@ jobs: name: Run GoReleaser uses: goreleaser/goreleaser-action@v6 with: - version: '~> v2.3' args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index ba4aac9c2..d573f9a3a 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -278,7 +278,7 @@ nfpms: # GoReleaser will automatically add the binaries. contents: # Basic file that applies to all packagers - - src: './dist/linux-{{ .Arch }}-health-monitor_linux_{{ .Arch }}{{- if eq .Arch "amd64" }}_{{ .Amd64 }}{{ end }}/cfusemon' + - src: './dist/linux-{{ .Arch }}-health-monitor_linux_{{ .Arch }}{{- if eq .Arch "amd64" }}_{{ .Amd64 }}{{- else }}_{{ .Arm64 }}{{ end }}/cfusemon' dst: /usr/bin/cfusemon - src: NOTICE dst: /usr/share/doc/cloudfuse/NOTICE @@ -345,7 +345,7 @@ nfpms: # GoReleaser will automatically add the binaries. contents: # Basic file that applies to all packagers - - src: './dist/linux-{{ .Arch }}-health-monitor_linux_{{ .Arch }}{{- if eq .Arch "amd64" }}_{{ .Amd64 }}{{ end }}/cfusemon' + - src: './dist/linux-{{ .Arch }}-health-monitor_linux_{{ .Arch }}{{- if eq .Arch "amd64" }}_{{ .Amd64 }}{{- else }}_{{ .Arm64 }}{{ end }}/cfusemon' dst: /usr/bin/cfusemon - src: NOTICE dst: /usr/share/doc/cloudfuse/NOTICE